-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
rustc_llvm: adapt to flattened CLI args in LLVM #130446
Conversation
This comment has been minimized.
This comment has been minimized.
b73d755
to
29a16e8
Compare
Was already going to make a PR for this, as this is due to my change in LLVM, but you were faster. Still wip but something like this: master...nebulark:rust_contributing:fix_cl |
This changed in llvm/llvm-project@e190d07. I decided to stick with more duplication between the ifdef blocks to make the code easier to read for the next two years before we can plausibly drop LLVM 19. @rustbot label: +llvm-main
29a16e8
to
ad0eceb
Compare
I don't really feel strongly - I was mostly trying to not change the interface between the Rust and C++ code until we could really clean house on the old codepath, at which point I'd think harder about it. We've got a continuous build that builds Rust HEAD against LLVM HEAD as that's what we use internally, so we noticed pretty quickly. |
This comment has been minimized.
This comment has been minimized.
heh, clang-format |
Had another look. There is now a difference in output (besides the now missing erronous "cc1" part). I'd expect this windows-only test to fail: Previously the arguments were quoted via For me it's fine though to leave it as it is, so everything compiles again. I'll make a follow up pr in this case. |
@bors try |
… r=<try> rustc_llvm: adapt to flattened CLI args in LLVM This changed in llvm/llvm-project@e190d07. I decided to stick with more duplication between the ifdef blocks to make the code easier to read for the next two years before we can plausibly drop LLVM 19. `@rustbot` label: +llvm-main try-job: x86_64-msvc
☀️ Try build successful - checks-actions |
hm! @bors r+ |
…s, r=workingjubilee rustc_llvm: adapt to flattened CLI args in LLVM This changed in llvm/llvm-project@e190d07. I decided to stick with more duplication between the ifdef blocks to make the code easier to read for the next two years before we can plausibly drop LLVM 19. `@rustbot` label: +llvm-main try-job: x86_64-msvc
☀️ Test successful - checks-actions |
Finished benchmarking commit (1f9a018): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (primary -3.2%, secondary 2.5%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (primary 0.6%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 769.289s -> 770.432s (0.15%) |
Fixes string manipulation errors introduced in rust-lang#130446.
rustc_llvm: Fix flattened CLI args Fixes string manipulation errors introduced in rust-lang#130446.
Rollup merge of rust-lang#131805 - aeubanks:flat, r=durin42 rustc_llvm: Fix flattened CLI args Fixes string manipulation errors introduced in rust-lang#130446.
This changed in
llvm/llvm-project@e190d07. I decided to stick with more duplication between the ifdef blocks to make the code easier to read for the next two years before we can plausibly drop LLVM 19.
@rustbot label: +llvm-main
try-job: x86_64-msvc