-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Pass -Werror when building the LLVM wrapper #143807
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
base: master
Are you sure you want to change the base?
Conversation
I disagree with applying Maybe we could inject |
Even if warnings are not enabled ? Well, even if you can still get warnings that are not parts of -Wall and -Wextra... |
note that this here isn't actually building llvm, it's just building rustc's wrapper. the actual LLVM build happens in src/bootstrap |
I don't think it needs to be sophisticated -- maybe just check for the
|
Bootstrap has existing methods for checking whether it's in rust-lang/rust CI, maybe you could reuse those by piping through environment variables or something like that |
Boostrap has existing types and methods for checking whether it's in rust-lang/rust CI, that's the |
Enabling warning_into_errors() only whether it's in rust-lang/rust CI, so deprecated uses of LLVM methods can be treated as errors.
ae1ee6e
to
8271991
Compare
cc #109712