about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-11-04 22:24:46 +0000
committerbors <bors@rust-lang.org>2022-11-04 22:24:46 +0000
commit81ff7e7385be9846f28616081e836163a36681da (patch)
tree9cc9a9bc5640d53a184f899ee99c5c6ca36ebff9 /compiler/rustc_codegen_gcc
parent09508489efc223287731fe8abbd2a81bbf7adf8e (diff)
parent4c55b29349e9367daad49317cef642c41d5608ac (diff)
downloadrust-81ff7e7385be9846f28616081e836163a36681da.tar.gz
rust-81ff7e7385be9846f28616081e836163a36681da.zip
Auto merge of #103298 - ferrocene:pa-compile-flags-last, r=jyn514
Ensure that compile-flags arguments are the last in UI tests

Before this PR, compiletest would add `-L path/to/aux` at the end of the rustc flags, even after the custom ones set with the compile-flags header comment. This made it impossible to check how rustc would behave when a flag requiring an argument was passed without the argument, because the argument would become `-L`.

This PR fixes that by adding the `-L path/to/aux` before the arguments defined in compile-flags, at least for UI tests. Other test suites might either be fixed as well by this change, or still present the old behavior (`-L` is now always passed before, but other tests suites might add additional flags after the custom ones).
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions