Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
790c238
rewrite pdb-alt-path to rmake
Oneirical Jun 21, 2024
9dff8a3
rewrite mismatching-target-triples to rmake
Oneirical Jun 21, 2024
a2ed16c
rewrite mingw-export-call-convention to rmake
Oneirical Jun 21, 2024
2ffff79
rewrite pretty-print-with-dep-file to rmake
Oneirical Jun 26, 2024
722ae22
rewrite pretty-print-to-file to rmake
Oneirical Jun 26, 2024
53109d5
rewrite libtest-padding to rmake
Oneirical Jun 26, 2024
9bbf3d9
docs: say "includes" instead of "does include"
Sky9x Jun 28, 2024
df7331f
Remove unnecessary SeqCst in `impl fmt::Pointer for AtomicPtr`
Sky9x Jun 28, 2024
fa12064
Don't get output if `lldb --version` errors
ChrisDenton Jun 29, 2024
a6ef91e
Update test.rs
ChrisDenton Jun 29, 2024
4ee077a
Migrate `run-make/override-aliased-flags` to `rmake.rs`
GuillaumeGomez Jun 27, 2024
8cbeeda
Migrate `run-make/return-non-c-like-enum` to `rmake.rs`
GuillaumeGomez Jun 29, 2024
06aeb67
Rollup merge of #126805 - Oneirical:weaves-of-testiny, r=Kobzol
GuillaumeGomez Jun 29, 2024
c70a2e3
Rollup merge of #126995 - Oneirical:test-friends-forever, r=Kobzol
GuillaumeGomez Jun 29, 2024
c1fb4e5
Rollup merge of #127041 - GuillaumeGomez:run-make-override-aliased-fl…
GuillaumeGomez Jun 29, 2024
e9594b5
Rollup merge of #127072 - Sky9x:docs-includes-vs-does-include, r=scot…
GuillaumeGomez Jun 29, 2024
0886faa
Rollup merge of #127073 - Sky9x:unnecessary-seqcst, r=Nilstrieb
GuillaumeGomez Jun 29, 2024
38983df
Rollup merge of #127112 - ChrisDenton:lldb, r=Kobzol
GuillaumeGomez Jun 29, 2024
69f355a
Rollup merge of #127116 - GuillaumeGomez:run-make-return-non-c-like-e…
GuillaumeGomez Jun 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/tools/tidy/src/allowed_run_make_makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ run-make/obey-crate-type-flag/Makefile
run-make/optimization-remarks-dir-pgo/Makefile
run-make/optimization-remarks-dir/Makefile
run-make/output-type-permutations/Makefile
run-make/override-aliased-flags/Makefile
run-make/panic-abort-eh_frame/Makefile
run-make/pass-linker-flags-flavor/Makefile
run-make/pass-linker-flags-from-dep/Makefile
Expand Down
23 changes: 0 additions & 23 deletions tests/run-make/override-aliased-flags/Makefile

This file was deleted.

24 changes: 24 additions & 0 deletions tests/run-make/override-aliased-flags/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//@ ignore-cross-compile

use run_make_support::rustc;

// FIXME: it would be good to check that it's actually the rightmost flags
// that are used when multiple flags are specified, but I can't think of a
// reliable way to check this.
fn main() {
// Test that `-O` and `-C opt-level` can be specified multiple times.
// The rightmost flag will be used over any previous flags.
rustc().arg("-O").arg("-O").input("main.rs").run();
rustc().arg("-O").arg("-C").arg("opt-level=0").input("main.rs").run();
rustc().arg("-C").arg("opt-level=0").arg("-O").input("main.rs").run();
rustc().arg("-C").arg("opt-level=0").arg("-C").arg("opt-level=2").input("main.rs").run();
rustc().arg("-C").arg("opt-level=2").arg("-C").arg("opt-level=0").input("main.rs").run();

// Test that `-g` and `-C debuginfo` can be specified multiple times.
// The rightmost flag will be used over any previous flags.
rustc().arg("-g").arg("-g").input("main.rs").run();
rustc().arg("-g").arg("-C").arg("debuginfo=0").input("main.rs").run();
rustc().arg("-C").arg("debuginfo=0").arg("-g").input("main.rs").run();
rustc().arg("-C").arg("debuginfo=0").arg("-C").arg("debuginfo=2").input("main.rs").run();
rustc().arg("-C").arg("debuginfo=2").arg("-C").arg("debuginfo=0").input("main.rs").run();
}