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 #127906

Merged
merged 27 commits into from
Jul 18, 2024
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
72e2255
cleanup: remove support for 3DNow! cpu features
durin42 Jul 17, 2024
a47ca19
rewrite extern-fn-with-extern-types to rmake
Oneirical Jul 8, 2024
a795d89
rewrite and rename issue-25581
Oneirical Jul 8, 2024
d6a3f65
rewrite extern-fn-struct-passing-abi to rmake
Oneirical Jul 8, 2024
98454ec
rewrite longjmp-across-rust to rmake
Oneirical Jul 8, 2024
205bfe7
rewrite static-extern-type to rmake
Oneirical Jul 8, 2024
bde9178
rewrite extern-fn-explicit-align to rmake
Oneirical Jul 8, 2024
f7d67d6
rewrite extern-fn-with-packed-struct to rmake
Oneirical Jul 8, 2024
c68d25b
rewrite extern-fn-mangle to rmake
Oneirical Jul 8, 2024
d83ada3
rewrite and rename issue-85401-static-mir
Oneirical Jul 16, 2024
890ef11
rewrite missing-crate-dependency to rmake
Oneirical Jul 16, 2024
3ba62f0
rewrite unstable-flag-required to rmake
Oneirical Jul 16, 2024
7f3f34d
Mark myself as on leave
oli-obk Jul 18, 2024
487802d
Remove `TrailingToken`.
nnethercote Jul 16, 2024
69157bd
Add missing GHA group for building `llvm-bitcode-linker`
Kobzol Jul 18, 2024
fa74a9e
valtree construction: keep track of which type was valtree-incompatible
RalfJung Jul 13, 2024
e613bc9
const_to_pat: cleanup leftovers from when we had to deal with non-str…
RalfJung Jul 13, 2024
86ce911
pattern lowering: make sure we never call user-defined PartialEq inst…
RalfJung Jul 13, 2024
67c99d6
avoid creating an Instance only to immediately disassemble it again
RalfJung Jul 13, 2024
303a2db
remove saw_const_match_error; check if pattern contains an Error instead
RalfJung Jul 15, 2024
78fe5f7
Rollup merge of #127491 - Oneirical:bulletproof-test, r=jieyouxu
tgross35 Jul 18, 2024
a2178df
Rollup merge of #127687 - RalfJung:pattern-cleanup, r=oli-obk,lcnr
tgross35 Jul 18, 2024
d817c0f
Rollup merge of #127822 - Oneirical:amazon-rainfortest, r=jieyouxu
tgross35 Jul 18, 2024
e2e0681
Rollup merge of #127842 - nnethercote:rm-TrailingToken, r=petrochenkov
tgross35 Jul 18, 2024
e4bc3d5
Rollup merge of #127864 - durin42:farewell-3dnow, r=nikic
tgross35 Jul 18, 2024
73eba8e
Rollup merge of #127899 - oli-obk:leave, r=lqd
tgross35 Jul 18, 2024
16d2b61
Rollup merge of #127901 - Kobzol:llvm-bitcode-linker-gha-group, r=onu…
tgross35 Jul 18, 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 missing-crate-dependency to rmake
Oneirical committed Jul 17, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 890ef1180b96683602ecd7ce0fe19a431d6474e2
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
@@ -75,7 +75,6 @@ run-make/macos-deployment-target/Makefile
run-make/macos-fat-archive/Makefile
run-make/manual-link/Makefile
run-make/min-global-align/Makefile
run-make/missing-crate-dependency/Makefile
run-make/native-link-modifier-bundle/Makefile
run-make/native-link-modifier-whole-archive/Makefile
run-make/no-alloc-shim/Makefile
9 changes: 0 additions & 9 deletions tests/run-make/missing-crate-dependency/Makefile

This file was deleted.

17 changes: 17 additions & 0 deletions tests/run-make/missing-crate-dependency/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// A simple smoke test to check that rustc fails compilation
// and outputs a helpful message when a dependency is missing
// in a dependency chain.
// See https://github.com/rust-lang/rust/issues/12146

use run_make_support::{fs_wrapper, rust_lib_name, rustc};

fn main() {
rustc().crate_type("rlib").input("crateA.rs").run();
rustc().crate_type("rlib").input("crateB.rs").run();
fs_wrapper::remove_file(rust_lib_name("crateA"));
// Ensure that crateC fails to compile, as the crateA dependency is missing.
rustc()
.input("crateC.rs")
.run_fail()
.assert_stderr_contains("can't find crate for `crateA` which `crateB` depends on");
}