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 11 pull requests #126369

Closed
wants to merge 33 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
17b0771
rewrite pgo-branch-weights to rmake
Oneirical May 15, 2024
80408e0
port symlinked-extern to rmake
Oneirical May 28, 2024
59acd23
port symlinked-rlib to rmake
Oneirical May 28, 2024
2ac5faa
port symlinked-libraries to rmake
Oneirical May 28, 2024
63bdcaa
add is_none_or
RalfJung Jun 12, 2024
4c208ac
use is_none_or in some places in the compiler
RalfJung Jun 12, 2024
ffe5439
Add test for walking order dependent opaque type behaviour
oli-obk Jun 12, 2024
6d93626
docs(rustc): Help users to check-cfg Cargo docs
epage Jun 12, 2024
4b809b9
Move MatchAgainstFreshVars to old solver
compiler-errors Jun 12, 2024
9232bd2
docs(rustc): Link unexpected_cfgs to the Cargo.toml docs
epage Jun 12, 2024
e171e64
docs(rustc): De-emphasize --cfg/--check-cfg note
epage Jun 12, 2024
075f068
std::unix::fs::link using direct linkat call for Solaris and macOs.
devnexen Jun 12, 2024
52b2c88
Walk into alias-eq nested goals even if normalization fails
compiler-errors May 28, 2024
b0c1474
better error message for normalizes-to ambiguities
compiler-errors Jun 4, 2024
44040a0
Also passthrough for projection clauses
compiler-errors Jun 4, 2024
46391b7
Make `try_from_target_usize` method public
artemagvanian Jun 12, 2024
c453c82
Harmonize use of leaf and root obligation in trait error reporting
compiler-errors Jun 8, 2024
93d83c8
Bless and add ICE regression test
compiler-errors Jun 8, 2024
f8d12d9
Stop passing both trait pred and trait ref
compiler-errors Jun 7, 2024
2c0348a
Stop passing traitref/traitpredicate by ref
compiler-errors Jun 7, 2024
d1fa19c
Add urls to rust lang reference
sancho20021 Jun 12, 2024
ae24ebe
Rebase fallout
compiler-errors Jun 13, 2024
ae73d9d
Rollup merge of #125165 - Oneirical:pgo-branch-weights, r=jieyouxu
workingjubilee Jun 13, 2024
b1a6d44
Rollup merge of #125674 - Oneirical:another-day-another-test, r=jieyouxu
workingjubilee Jun 13, 2024
dd6df05
Rollup merge of #125688 - compiler-errors:alias-reporting, r=lcnr
workingjubilee Jun 13, 2024
c315b05
Rollup merge of #126142 - compiler-errors:trait-ref-split, r=jackh726
workingjubilee Jun 13, 2024
68d72e9
Rollup merge of #126303 - sancho20021:patch-1, r=compiler-errors
workingjubilee Jun 13, 2024
b1b9961
Rollup merge of #126328 - RalfJung:is_none_or, r=workingjubilee
workingjubilee Jun 13, 2024
cc940ea
Rollup merge of #126337 - oli-obk:nested_gat_opaque, r=lcnr
workingjubilee Jun 13, 2024
1315e47
Rollup merge of #126351 - devnexen:to_sol11_upd, r=ChrisDenton
workingjubilee Jun 13, 2024
5a9bfb9
Rollup merge of #126353 - compiler-errors:move-match, r=lcnr
workingjubilee Jun 13, 2024
574c413
Rollup merge of #126356 - epage:check-cfg, r=Urgau
workingjubilee Jun 13, 2024
f16bd4e
Rollup merge of #126362 - artemagvanian:patch-1, r=celinval
workingjubilee Jun 13, 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
port symlinked-rlib to rmake
Oneirical committed Jun 12, 2024
commit 59acd234575b0283a6e00ec2e9d8be5f1b2f782d
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
@@ -229,7 +229,6 @@ run-make/symbol-mangling-hashed/Makefile
run-make/symbol-visibility/Makefile
run-make/symbols-include-type-name/Makefile
run-make/symlinked-libraries/Makefile
run-make/symlinked-rlib/Makefile
run-make/sysroot-crates-are-unstable/Makefile
run-make/target-cpu-native/Makefile
run-make/target-specs/Makefile
12 changes: 0 additions & 12 deletions tests/run-make/symlinked-extern/Makefile

This file was deleted.

1 change: 1 addition & 0 deletions tests/run-make/symlinked-extern/rmake.rs
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
// using the --extern option to rustc, which could lead to rustc thinking
// that it encountered two different versions of a crate, when it's
// actually the same version found through different paths.
// See https://github.com/rust-lang/rust/pull/16505

// This test checks that --extern and symlinks together
// can result in successful compilation.
10 changes: 0 additions & 10 deletions tests/run-make/symlinked-rlib/Makefile

This file was deleted.

16 changes: 16 additions & 0 deletions tests/run-make/symlinked-rlib/rmake.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// Rustc did not recognize libraries which were symlinked
// to files having extension other than .rlib. This was fixed
// in #32828. This test creates a symlink to "foo.xxx", which has
// an unusual file extension, and checks that rustc can successfully
// use it as an rlib library.
// See https://github.com/rust-lang/rust/pull/32828

//@ ignore-cross-compile

use run_make_support::{create_symlink, rustc, tmp_dir};

fn main() {
rustc().input("foo.rs").crate_type("rlib").output(tmp_dir().join("foo.xxx")).run();
create_symlink(tmp_dir().join("foo.xxx"), tmp_dir().join("libfoo.rlib"));
rustc().input("bar.rs").library_search_path(tmp_dir());
}