-
Notifications
You must be signed in to change notification settings - Fork 13k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
warning: [email protected]: Inherited flag "-flto=thin" is not supported by the currently used CC #136338
Comments
I believe this is due to trying to pass
|
|
Yeah I talked with another person and he said that GCC is the underlying compiler and doesn't support those flags, that Clang would have to be used to support them. |
|
rust-lang/cc-rs#1379 was merged, so rust-lang/rust side we just need to wait for the next |
Thanks for the quick responses and the PR! |
On my x86_64-unknown-linux-gnu system when compiling Rustc-1.84.1, I get the following warnings:
This occurs a few more times. This seems similar to issue #134657, although that issue involved MSVC, whereas I am using system LLVM-19.1.6 compiled by GCC-14.2.0 on a glibc-2.40 system. From what I understand of the linked issue, these warnings are harmless and have to do with the cc version in
Cargo.lock
and other similar files. Rustc compiled just fine and compiles Rust packages fine.Thanks in advance!
The text was updated successfully, but these errors were encountered: