diff options
| author | Pietro Albini <pietro.albini@ferrous-systems.com> | 2022-10-20 11:35:28 +0200 |
|---|---|---|
| committer | Pietro Albini <pietro.albini@ferrous-systems.com> | 2022-10-25 10:41:23 +0200 |
| commit | 6457df3d4b945f2b56ada653e30116bb2267c004 (patch) | |
| tree | f7caca91a2c28cc98e8d3d4fd04180c933053dad /src/test/rustdoc-ui/coverage/enum-tuple.rs | |
| parent | 31d754a1dfba4d091a05589459708f286d5a231e (diff) | |
| download | rust-6457df3d4b945f2b56ada653e30116bb2267c004.tar.gz rust-6457df3d4b945f2b56ada653e30116bb2267c004.zip | |
ensure that compile-flags arguments are the last in ui tests
Before this commit, 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.
Diffstat (limited to 'src/test/rustdoc-ui/coverage/enum-tuple.rs')
0 files changed, 0 insertions, 0 deletions
