Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
329bc1c
Merge remote-tracking branch 'upstream/master'
miried Aug 19, 2025
e020f88
add a fallback implementation for the `prefetch_*` intrinsics
folkertdev Aug 19, 2025
544eb34
make `prefetch` intrinsics safe
folkertdev Aug 19, 2025
7cc0426
Rollup merge of #139357 - miried:master, r=Amanieu
jhpratt Aug 20, 2025
ee98367
Rollup merge of #140314 - lolbinarycat:rustdoc-js-scrape-examples-typ…
jhpratt Aug 20, 2025
95f4805
Rollup merge of #140794 - karolzwolak:allow-unused-doc-65464, r=david…
jhpratt Aug 20, 2025
5177136
Rollup merge of #145006 - ginnyTheCat:docs-skip-until, r=ibraheemdev
jhpratt Aug 20, 2025
2dbfd36
Rollup merge of #145252 - shepmaster:demote-x86_64-apple-darwin-to-ti…
jhpratt Aug 20, 2025
586f190
Rollup merge of #145359 - GuillaumeGomez:correctly-pick-search.js, r=…
jhpratt Aug 20, 2025
c273d22
Rollup merge of #145381 - Gnurou:int_lowest_highest_one, r=jhpratt
jhpratt Aug 20, 2025
8f60c57
Rollup merge of #145417 - a4lg:riscv-arch-platform-guide-ch2, r=Amanieu
jhpratt Aug 20, 2025
a2c2ae7
Rollup merge of #145531 - sayantn:detect-apxf-avx10, r=Amanieu
jhpratt Aug 20, 2025
b6659cb
Rollup merge of #145619 - joshtriplett:use-the-right-core, r=tgross35
jhpratt Aug 20, 2025
6e353d3
Rollup merge of #145622 - tgross35:remove-builtins-patch, r=Mark-Simu…
jhpratt Aug 20, 2025
67b4d91
Rollup merge of #145623 - compiler-errors:pretty-async-name, r=wesley…
jhpratt Aug 20, 2025
cf13767
Rollup merge of #145626 - folkertdev:prefetch-fallback, r=Amanieu
jhpratt Aug 20, 2025
8162bc6
Auto merge of #145644 - jhpratt:rollup-ypo3zcd, r=jhpratt
bors Aug 20, 2025
19aee01
Auto merge of #145348 - nnethercote:parse_token_tree-speedup-for-uom,…
bors Aug 20, 2025
d1c6abe
Auto merge of #145645 - Kobzol:uplift-fix, r=jieyouxu
bors Aug 20, 2025
273a15f
Auto merge of #144086 - clubby789:alloc-zeroed, r=nikic
bors Aug 20, 2025
bcbe2eb
Auto merge of #145259 - nikic:read-only-capture, r=wesleywiser
bors Aug 20, 2025
4769b65
Prepare for merging from rust-lang/rust
Aug 21, 2025
e38e0e7
Merge ref '125ff8a788c5' from rust-lang/rust
Aug 21, 2025
5d3f748
update rustc-build-sysroot
RalfJung Aug 21, 2025
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
4 changes: 2 additions & 2 deletions cargo-miri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cargo-miri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ directories = "6"
rustc_version = "0.4"
serde_json = "1.0.40"
cargo_metadata = "0.21"
rustc-build-sysroot = "0.5.8"
rustc-build-sysroot = "0.5.10"

# Enable some feature flags that dev-dependencies need but dependencies
# do not. This makes `./miri install` after `./miri build` faster.
Expand Down
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f605b57042ffeb320d7ae44490113a827139b766
125ff8a788c5d6a66917f499abdc00051afe6886
23 changes: 23 additions & 0 deletions tests/pass/prefetch.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#![feature(core_intrinsics)]

// Test that these intrinsics work. Their behavior should be a no-op.

fn main() {
static X: [u8; 8] = [0; 8];

::std::intrinsics::prefetch_read_data::<_, 1>(::std::ptr::null::<u8>());
::std::intrinsics::prefetch_read_data::<_, 2>(::std::ptr::dangling::<u8>());
::std::intrinsics::prefetch_read_data::<_, 3>(X.as_ptr());

::std::intrinsics::prefetch_write_data::<_, 1>(::std::ptr::null::<u8>());
::std::intrinsics::prefetch_write_data::<_, 2>(::std::ptr::dangling::<u8>());
::std::intrinsics::prefetch_write_data::<_, 3>(X.as_ptr());

::std::intrinsics::prefetch_read_instruction::<_, 1>(::std::ptr::null::<u8>());
::std::intrinsics::prefetch_read_instruction::<_, 2>(::std::ptr::dangling::<u8>());
::std::intrinsics::prefetch_read_instruction::<_, 3>(X.as_ptr());

::std::intrinsics::prefetch_write_instruction::<_, 1>(::std::ptr::null::<u8>());
::std::intrinsics::prefetch_write_instruction::<_, 2>(::std::ptr::dangling::<u8>());
::std::intrinsics::prefetch_write_instruction::<_, 3>(X.as_ptr());
}
Loading