-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
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 |
ae1ee6e
to
8271991
Compare
@bors r+ rollup=iffy |
Pass -Werror when building the LLVM wrapper cc rust-lang#109712
Rollup of 7 pull requests Successful merges: - #138689 (add nvptx_target_feature) - #140267 (implement continue_ok and break_ok for ControlFlow) - #143807 (Pass -Werror when building the LLVM wrapper) - #144369 (Upgrade semicolon_in_expressions_from_macros from warn to deny) - #144601 (Allow `cargo fix` to partially apply `mismatched_lifetime_syntaxes`) - #144682 (Stabilize `strict_overflow_ops`) - #145026 (Update books) r? `@ghost` `@rustbot` modify labels: rollup
Failed in rollup: #145031 (comment) @bors r- |
@bors2 try jobs=aarch64-msvc-1 |
Pass -Werror when building the LLVM wrapper try-job: aarch64-msvc-1
This comment has been minimized.
This comment has been minimized.
💔 Test failed (CI). Failed jobs:
|
Whooops, sorry, it seems that something went wrong. I guess that I am able to reproduce the issue by using the try command with bors (at least according to the doc). So either I exclude |
8271991
to
4ddb9ed
Compare
This comment has been minimized.
This comment has been minimized.
4ddb9ed
to
57491cb
Compare
@bors try jobs=aarch64-msvc-1 |
@rperier: 🔑 Insufficient privileges: not in try users |
As this PR was intended to be merged as a trivial change, I propose the following fix, it is less intrusive than fixing the warnings (hope this helps as I cannot try the job via bors). @rustbot ready |
@bors2 try jobs=aarch64-msvc-1 |
Pass -Werror when building the LLVM wrapper try-job: aarch64-msvc-1
Enabling warning_into_errors() only whether it's in rust-lang/rust CI, so deprecated uses of LLVM methods can be treated as errors.
57491cb
to
d37fae3
Compare
@bors r+ |
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 2fd855f (parent) -> a980cd4 (this PR) Test differencesShow 4 test diffs4 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard a980cd4311ae4b5bf9099d418e32643d068f1344 --output-dir test-dashboard And then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
Finished benchmarking commit (a980cd4): comparison URL. Overall result: ✅ improvements - no action needed@rustbot label: -perf-regression Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (secondary 3.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 0.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 465.394s -> 465.2s (-0.04%) |
cc #109712