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

Automatic Rustup #4095

Merged
merged 40 commits into from
Dec 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
faaabf4
Bounds-check with PtrMetadata instead of Len in MIR
scottmcm Dec 2, 2024
bc7269d
Make BorrowSet/BorrowData fields accessible via public getters
willcrichton Dec 12, 2024
9f317f4
Auto merge of #133294 - matthiaskrgr:crashes21nov, r=jieyouxu
bors Dec 13, 2024
0f988b1
Auto merge of #133899 - scottmcm:strip-mir-debuginfo, r=oli-obk
bors Dec 13, 2024
55f8534
Don't retag the `PtrMetadata(&raw const *_n)` in slice indexing
scottmcm Dec 13, 2024
a67498d
Make dependency_formats an FxIndexMap rather than a list of tuples
bjorn3 Dec 12, 2024
ee97de7
Auto merge of #134047 - saethlin:inline-fmt-rt, r=m-ou-se
bors Dec 13, 2024
d613c11
Auto merge of #134122 - oli-obk:push-zqnyznxtpnll, r=petrochenkov
bors Dec 13, 2024
65201b0
Fix miri tests
estebank Dec 12, 2024
fe11029
Auto merge of #133099 - RalfJung:forbidden-hardfloat-features, r=work…
bors Dec 13, 2024
27c8b97
Rollup merge of #134181 - estebank:trim-render, r=oli-obk
matthiaskrgr Dec 14, 2024
66bf27f
Rollup merge of #134209 - onur-ozkan:check-skip-paths, r=jieyouxu
matthiaskrgr Dec 14, 2024
85a866a
Rollup merge of #134231 - notriddle:notriddle/mismatched-path, r=Guil…
matthiaskrgr Dec 14, 2024
41e6b91
Rollup merge of #134236 - matthiaskrgr:tests12122024, r=compiler-errors
matthiaskrgr Dec 14, 2024
a05ea92
Rollup merge of #134240 - cuviper:dist-llvm-tools, r=jieyouxu
matthiaskrgr Dec 14, 2024
7f3636c
Rollup merge of #134244 - Enselic:no-mut-hint-for-raw-ref, r=jieyouxu
matthiaskrgr Dec 14, 2024
afe9403
Rollup merge of #134251 - bjorn3:various_cleanups2, r=oli-obk
matthiaskrgr Dec 14, 2024
4d99deb
Rollup merge of #134256 - krtab:suggestion_overlapping, r=petrochenkov
matthiaskrgr Dec 14, 2024
83de7a9
Rollup merge of #134274 - fmease:amp-raw-is-a-normal-borrow, r=Noratrieb
matthiaskrgr Dec 14, 2024
f503c7f
Auto merge of #134292 - matthiaskrgr:rollup-3kbjocl, r=matthiaskrgr
bors Dec 14, 2024
ec223ea
Rollup merge of #132150 - taiki-e:ppc64-freebsd-abi, r=pnkfelix
matthiaskrgr Dec 14, 2024
aff3627
Rollup merge of #133942 - BD103:black-box-docs, r=saethlin
matthiaskrgr Dec 14, 2024
a661a33
Rollup merge of #134081 - oli-obk:push-prpsqxxynxnq, r=BoxyUwU
matthiaskrgr Dec 14, 2024
62a1cc0
Rollup merge of #134192 - nnethercote:rm-Lexer-Parser-dep, r=compiler…
matthiaskrgr Dec 14, 2024
c79ec84
Rollup merge of #134208 - Zalathar:covmap-covfun, r=compiler-errors
matthiaskrgr Dec 14, 2024
006fc42
Rollup merge of #134211 - flba-eb:add_qnx_archiver, r=compiler-errors
matthiaskrgr Dec 14, 2024
e9e2771
Auto merge of #134294 - matthiaskrgr:rollup-anh6io8, r=matthiaskrgr
bors Dec 14, 2024
9beb1c8
Auto merge of #134185 - compiler-errors:impl-trait-in-bindings, r=oli…
bors Dec 14, 2024
f53f6cc
Auto merge of #134296 - matthiaskrgr:rollup-o0sxozj, r=matthiaskrgr
bors Dec 14, 2024
dcaba38
Rollup merge of #133221 - Urgau:check-cfg-macro-diag, r=jieyouxu
matthiaskrgr Dec 14, 2024
79b80e8
Rollup merge of #133386 - wesleywiser:update_musl_base_crt_default, r…
matthiaskrgr Dec 14, 2024
afdbb08
Rollup merge of #134191 - willcrichton:dev, r=RalfJung,lqd
matthiaskrgr Dec 14, 2024
2850a9d
Rollup merge of #134227 - alexcrichton:update-wasi-sdk, r=lqd
matthiaskrgr Dec 14, 2024
055c5e8
Rollup merge of #134279 - jieyouxu:return-adjustment-target, r=compil…
matthiaskrgr Dec 14, 2024
524ebfc
Rollup merge of #134295 - compiler-errors:smir-async-closure, r=oli-obk
matthiaskrgr Dec 14, 2024
cbe0700
Auto merge of #134278 - weihanglo:update-cargo, r=weihanglo
bors Dec 14, 2024
401efdc
Auto merge of #134305 - matthiaskrgr:rollup-bja3lsz, r=matthiaskrgr
bors Dec 14, 2024
b3916b8
Auto merge of #133734 - scottmcm:lower-indexing-to-ptrmetadata, r=dav…
bors Dec 14, 2024
aa4515e
Preparing for merge from rustc
Dec 15, 2024
5cada13
Merge from rustc
Dec 15, 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
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f4f0fafd0c7849e162eddbc69fa5fe82dbec28c7
7caf35b2e5401d7740fdc567fdc388059208150b
5 changes: 2 additions & 3 deletions src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,9 @@ pub fn iter_exported_symbols<'tcx>(
let dependency_formats = tcx.dependency_formats(());
// Find the dependencies of the executable we are running.
let dependency_format = dependency_formats
.iter()
.find(|(crate_type, _)| *crate_type == CrateType::Executable)
.get(&CrateType::Executable)
.expect("interpreting a non-executable crate");
for cnum in dependency_format.1.iter().enumerate().filter_map(|(num, &linkage)| {
for cnum in dependency_format.iter().enumerate().filter_map(|(num, &linkage)| {
// We add 1 to the number because that's what rustc also does everywhere it
// calls `CrateNum::new`...
#[expect(clippy::arithmetic_side_effects)]
Expand Down
8 changes: 6 additions & 2 deletions src/machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1571,8 +1571,12 @@ impl<'tcx> Machine<'tcx> for MiriMachine<'tcx> {
res
}

fn after_local_read(ecx: &InterpCx<'tcx, Self>, local: mir::Local) -> InterpResult<'tcx> {
if let Some(data_race) = &ecx.frame().extra.data_race {
fn after_local_read(
ecx: &InterpCx<'tcx, Self>,
frame: &Frame<'tcx, Provenance, FrameExtra<'tcx>>,
local: mir::Local,
) -> InterpResult<'tcx> {
if let Some(data_race) = &frame.extra.data_race {
data_race.local_read(local, &ecx.machine);
}
interp_ok(())
Expand Down
3 changes: 1 addition & 2 deletions tests/fail-dep/concurrency/windows_join_main.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ note: inside `main`
LL | / thread::spawn(|| {
LL | | unsafe {
LL | | assert_eq!(WaitForSingleObject(MAIN_THREAD, INFINITE), WAIT_OBJECT_0);
LL | | }
LL | | })
... |
LL | | .join()
| |___________^

Expand Down
1 change: 0 additions & 1 deletion tests/fail/function_calls/arg_inplace_mutate.stack.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ LL | | let _unit: ();
LL | | {
LL | | let non_copy = S(42);
... |
LL | | }
LL | | }
| |_____^
help: <TAG> is this argument
Expand Down
1 change: 0 additions & 1 deletion tests/fail/function_calls/arg_inplace_mutate.tree.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ LL | | let _unit: ();
LL | | {
LL | | let non_copy = S(42);
... |
LL | | }
LL | | }
| |_____^
help: the protected tag <TAG> was created here, in the initial state Reserved
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ LL | | let _unit: ();
LL | | {
LL | | let non_copy = S(42);
... |
LL | |
LL | | }
| |_____^
help: <TAG> is this argument
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ LL | | let _unit: ();
LL | | {
LL | | let non_copy = S(42);
... |
LL | |
LL | | }
| |_____^
help: the protected tag <TAG> was created here, in the initial state Reserved
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ LL | | {
LL | | let x = 0;
LL | | let ptr = &raw mut x;
... |
LL | | }
LL | | }
| |_____^
help: <TAG> is this argument
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ LL | | {
LL | | let x = 0;
LL | | let ptr = &raw mut x;
... |
LL | | }
LL | | }
| |_____^
help: the protected tag <TAG> was created here, in the initial state Reserved
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ LL | | {
LL | | let _x = 0;
LL | | let ptr = &raw mut _x;
... |
LL | | }
LL | | }
| |_____^
help: <TAG> is this argument
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ LL | | {
LL | | let _x = 0;
LL | | let ptr = &raw mut _x;
... |
LL | | }
LL | | }
| |_____^
help: the protected tag <TAG> was created here, in the initial state Reserved
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ LL | | {
LL | | let _x = 0;
LL | | let ptr = &raw mut _x;
... |
LL | | }
LL | | }
| |_____^
help: <TAG> is this argument
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ LL | | {
LL | | let _x = 0;
LL | | let ptr = &raw mut _x;
... |
LL | | }
LL | | }
| |_____^
help: the protected tag <TAG> was created here, in the initial state Reserved
Expand Down
Loading