Skip to content
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

Rollup of 7 pull requests #127121

Merged
merged 19 commits into from
Jun 29, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
rewrite mismatching-target-triples to rmake
  • Loading branch information
Oneirical committed Jun 21, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 9dff8a33e1abcf8f0455acf7befd5366cc3d800f
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
@@ -111,7 +111,6 @@ run-make/many-crates-but-no-match/Makefile
run-make/metadata-dep-info/Makefile
run-make/min-global-align/Makefile
run-make/mingw-export-call-convention/Makefile
run-make/mismatching-target-triples/Makefile
run-make/missing-crate-dependency/Makefile
run-make/mixing-libs/Makefile
run-make/msvc-opt-minsize/Makefile
11 changes: 0 additions & 11 deletions tests/run-make/mismatching-target-triples/Makefile

This file was deleted.

15 changes: 15 additions & 0 deletions tests/run-make/mismatching-target-triples/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// In this test, foo links against 32-bit architecture, and then, bar, which depends
// on foo, links against 64-bit architecture, causing a metadata mismatch due to the
// differences in target architectures. This used to cause an internal compiler error,
// now replaced by a clearer normal error message. This test checks that this aforementioned
// error message is used.
// See https://github.com/rust-lang/rust/issues/10814

use run_make_support::rustc;

fn main() {
rustc().input("foo.rs").target("i686-unknown-linux-gnu").run();
rustc().input("bar.rs").target("x86_64-unknown-linux-gnu").run_fail().assert_stderr_contains(
r#"couldn't find crate `foo` with expected target triple x86_64-unknown-linux-gnu"#,
);
}
2 changes: 1 addition & 1 deletion tests/run-make/pdb-alt-path/rmake.rs
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
// checks that no full file paths are exposed and that the override flag is respected.
// See https://github.com/rust-lang/rust/pull/121297

//@ only-windows-msvc
//@ only-windows

fn main() {
// Test that we don't have the full path to the PDB file in the binary