repo
stringlengths
6
65
file_url
stringlengths
81
311
file_path
stringlengths
6
227
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:31:58
2026-01-04 20:25:31
truncated
bool
2 classes
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-15080.rs
src/tools/miri/tests/pass/issues/issue-15080.rs
fn main() { let mut x: &[_] = &[1, 2, 3, 4]; let mut result = vec![]; loop { x = match *x { [1, n, 3, ref rest @ ..] => { result.push(n); rest } [n, ref rest @ ..] => { result.push(n); rest ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-miri-133.rs
src/tools/miri/tests/pass/issues/issue-miri-133.rs
use std::mem::size_of; struct S<U, V> { _u: U, size_of_u: usize, _v: V, size_of_v: usize, } impl<U, V> S<U, V> { fn new(u: U, v: V) -> Self { S { _u: u, size_of_u: size_of::<U>(), _v: v, size_of_v: size_of::<V>() } } } impl<V, U> Drop for S<U, V> { fn drop(&mut self) { ass...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-miri-3473.rs
src/tools/miri/tests/pass/issues/issue-miri-3473.rs
//@revisions: stack tree //@[tree]compile-flags: -Zmiri-tree-borrows use std::cell::UnsafeCell; #[repr(C)] #[derive(Default)] struct Node { _meta: UnsafeCell<usize>, value: usize, } impl Node { fn value(&self) -> &usize { &self.value } } /// This used to cause Stacked Borrows errors because o...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-26709.rs
src/tools/miri/tests/pass/issues/issue-26709.rs
struct Wrapper<'a, T: ?Sized>(&'a mut i32, T); impl<'a, T: ?Sized> Drop for Wrapper<'a, T> { fn drop(&mut self) { *self.0 = 432; } } fn main() { let mut x = 0; { let wrapper = Box::new(Wrapper(&mut x, 123)); let _val: Box<Wrapper<dyn Send>> = wrapper; } assert_eq!(432, ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-miri-3282-struct-tail-normalize.rs
src/tools/miri/tests/pass/issues/issue-miri-3282-struct-tail-normalize.rs
// regression test for an ICE: https://github.com/rust-lang/miri/issues/3282 trait Id { type Assoc: ?Sized; } impl<T: ?Sized> Id for T { type Assoc = T; } #[repr(transparent)] struct Foo<T: ?Sized> { field: <T as Id>::Assoc, } fn main() { let x = unsafe { std::mem::transmute::<fn(&str), fn(&Foo<str>...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-139553.rs
src/tools/miri/tests/pass/issues/issue-139553.rs
//@compile-flags: -Zmiri-preemption-rate=0 -Zmiri-compare-exchange-weak-failure-rate=0 use std::sync::mpsc::channel; use std::thread; /// This test aims to trigger a race condition that causes a double free in the unbounded channel /// implementation. The test relies on a particular thread scheduling to happen as anno...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-134713-swap_nonoverlapping_untyped.rs
src/tools/miri/tests/pass/issues/issue-134713-swap_nonoverlapping_untyped.rs
use std::mem::{align_of, size_of}; // See <https://github.com/rust-lang/rust/issues/134713> #[repr(C)] struct Foo(usize, u8); fn main() { let buf1: [usize; 2] = [1000, 2000]; let buf2: [usize; 2] = [3000, 4000]; // Foo and [usize; 2] have the same size and alignment, // so swap_nonoverlapping should...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-36278-prefix-nesting.rs
src/tools/miri/tests/pass/issues/issue-36278-prefix-nesting.rs
// Issue 36278: On an unsized struct with >1 level of nontrivial // nesting, ensure we are computing dynamic size of prefix correctly. use std::mem; const SZ: usize = 100; struct P<T: ?Sized>(#[allow(dead_code)] [u8; SZ], T); type Ack<T> = P<P<T>>; fn main() { let size_of_sized; let size_of_unsized; let...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-35815.rs
src/tools/miri/tests/pass/issues/issue-35815.rs
use std::mem; #[allow(dead_code)] struct Foo<T: ?Sized> { a: i64, b: bool, c: T, } fn main() { let foo: &Foo<i32> = &Foo { a: 1, b: false, c: 2i32 }; let foo_unsized: &Foo<dyn Send> = foo; assert_eq!(mem::size_of_val(foo), mem::size_of_val(foo_unsized)); }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-27901.rs
src/tools/miri/tests/pass/issues/issue-27901.rs
trait Stream { type Item; } impl<'a> Stream for &'a str { type Item = u8; } fn f<'s>(s: &'s str) -> (&'s str, <&'s str as Stream>::Item) { (s, 42) } fn main() { let fx = f as for<'t> fn(&'t str) -> (&'t str, <&'t str as Stream>::Item); assert_eq!(fx("hi"), ("hi", 42)); }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-20575.rs
src/tools/miri/tests/pass/issues/issue-20575.rs
// Test that overloaded calls work with zero arity closures fn main() { let functions: [Box<dyn Fn() -> Option<()>>; 1] = [Box::new(|| None)]; let _val: Option<Vec<()>> = functions.iter().map(|f| (*f)()).collect(); }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-miri-3680.rs
src/tools/miri/tests/pass/issues/issue-miri-3680.rs
//@ignore-target: windows # File handling is not implemented yet //@compile-flags: -Zmiri-disable-isolation use std::fs::remove_file; use std::io::{ErrorKind, Seek}; #[path = "../../utils/mod.rs"] mod utils; fn main() { let path = utils::prepare("miri_test_fs_seek_i64_max_plus_1.txt"); let mut f = std::fs::...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-3794.rs
src/tools/miri/tests/pass/issues/issue-3794.rs
trait T { fn print(&self); } #[derive(Debug)] struct S { #[allow(dead_code)] s: isize, } impl T for S { fn print(&self) { println!("{:?}", self); } } fn print_t(t: &dyn T) { t.print(); } fn print_s(s: &S) { s.print(); } fn main() { let s: Box<S> = Box::new(S { s: 5 }); p...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-miri-184.rs
src/tools/miri/tests/pass/issues/issue-miri-184.rs
#![allow(unnecessary_transmutes)] fn main() { let bytes: [u8; 8] = unsafe { ::std::mem::transmute(0u64) }; let _val: &[u8] = &bytes; }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-3200-packed-field-offset.rs
src/tools/miri/tests/pass/issues/issue-3200-packed-field-offset.rs
#![feature(layout_for_ptr)] use std::mem; #[repr(packed, C)] struct PackedSized { f: u8, d: [u32; 4], } #[repr(packed, C)] struct PackedUnsized { f: u8, d: [u32], } impl PackedSized { fn unsize(&self) -> &PackedUnsized { // We can't unsize via a generic type since then we get the error ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-miri-1909.rs
src/tools/miri/tests/pass/issues/issue-miri-1909.rs
//@compile-flags: -Zmiri-permissive-provenance #![deny(unsafe_op_in_unsafe_fn)] //! This does some tricky ptr-int-casting. use core::alloc::{GlobalAlloc, Layout}; use std::alloc::System; /// # Safety /// `ptr` must be valid for writes of `len` bytes unsafe fn volatile_write_zeroize_mem(ptr: *mut u8, len: usize) { ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-miri-4793.rs
src/tools/miri/tests/pass/issues/issue-miri-4793.rs
fn main() { let _ = std::panic::catch_unwind(|| Box::<str>::from("...")); }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-miri-1075.rs
src/tools/miri/tests/pass/issues/issue-miri-1075.rs
fn main() { let f: fn() -> ! = || std::process::exit(0); f(); // FIXME: Also add a test for <https://github.com/rust-lang/rust/issues/66738>, once that is fixed. }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-31267-additional.rs
src/tools/miri/tests/pass/issues/issue-31267-additional.rs
#[derive(Clone, Copy, Debug)] struct Bar; const BAZ: Bar = Bar; #[derive(Debug)] struct Foo([Bar; 1]); struct Biz; impl Biz { const BAZ: Foo = Foo([BAZ; 1]); } fn main() { let _foo = Biz::BAZ; }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-23261.rs
src/tools/miri/tests/pass/issues/issue-23261.rs
// Matching on a DST struct should not trigger an LLVM assertion. struct Foo<T: ?Sized> { a: i32, inner: T, } trait Get { fn get(&self) -> i32; } impl Get for i32 { fn get(&self) -> i32 { *self } } fn check_val(val: &Foo<[u8]>) { match *val { Foo { a, .. } => { as...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-15523-big.rs
src/tools/miri/tests/pass/issues/issue-15523-big.rs
// Issue 15523: derive(PartialOrd) should use the provided // discriminant values for the derived ordering. // // This test is checking corner cases that arise when you have // 64-bit values in the variants. #[derive(PartialEq, PartialOrd)] #[repr(u64)] enum Eu64 { Pos2 = 2, PosMax = !0, Pos1 = 1, } #[der...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-29746.rs
src/tools/miri/tests/pass/issues/issue-29746.rs
// zip!(a1,a2,a3,a4) is equivalent to: // a1.zip(a2).zip(a3).zip(a4).map(|(((x1,x2),x3),x4)| (x1,x2,x3,x4)) macro_rules! zip { // Entry point ([$a:expr, $b:expr, $($rest:expr),*]) => { zip!([$($rest),*], $a.zip($b), (x,y), [x,y]) }; // Intermediate steps to build the zipped expression, the mat...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-33387.rs
src/tools/miri/tests/pass/issues/issue-33387.rs
use std::sync::Arc; trait Foo {} impl Foo for [u8; 2] {} fn main() { let _val: Arc<dyn Foo + Send> = Arc::new([3, 4]); }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/issues/issue-120337-irrefutable-let-ice.rs
src/tools/miri/tests/pass/issues/issue-120337-irrefutable-let-ice.rs
// Validation stops the test before the ICE we used to hit //@compile-flags: -Zmiri-disable-validation #![feature(never_type)] #[derive(Copy, Clone)] pub enum E { A(!), } pub union U { u: (), e: E, } fn main() { let E::A(ref _a) = unsafe { &(&U { u: () }).e }; }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/tls/tls_macro_drop_single_thread.rs
src/tools/miri/tests/pass/tls/tls_macro_drop_single_thread.rs
//! Check that destructors of main thread thread locals are executed. struct Bar; impl Drop for Bar { fn drop(&mut self) { println!("Bar dtor"); } } struct Foo; impl Drop for Foo { fn drop(&mut self) { println!("Foo dtor"); // We initialize another thread-local inside the dtor, w...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/tls/tls_leak_main_thread_allowed.rs
src/tools/miri/tests/pass/tls/tls_leak_main_thread_allowed.rs
#![feature(thread_local, cfg_target_thread_local)] use std::cell::Cell; // Thread-local variables in the main thread are basically like `static` (they live // as long as the program does), so make sure we treat them the same for leak purposes. // // The test covers both TLS statics and the TLS macro. fn main() { ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/tls/macos_tlv_atexit.rs
src/tools/miri/tests/pass/tls/macos_tlv_atexit.rs
//@only-target: darwin use std::thread; extern "C" { fn _tlv_atexit(dtor: unsafe extern "C" fn(*mut u8), arg: *mut u8); } fn register<F>(f: F) where F: FnOnce() + 'static, { // This will receive the pointer passed into `_tlv_atexit`, which is the // original `f` but boxed up. unsafe extern "C" fn...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/tls/win_tls_callback.rs
src/tools/miri/tests/pass/tls/win_tls_callback.rs
//! Ensure that we call Windows TLS callbacks in the local crate. //@only-target: windows // Calling eprintln in the callback seems to (re-)initialize some thread-local storage // and then leak the memory allocated for that. Let's just ignore these leaks, // that's not what this test is about. //@compile-flags: -Zmiri-...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/tls/tls_macro_drop.rs
src/tools/miri/tests/pass/tls/tls_macro_drop.rs
//@revisions: stack tree //@[tree]compile-flags: -Zmiri-tree-borrows use std::cell::RefCell; use std::thread; /// Check that destructors of the library thread locals are executed immediately /// after a thread terminates. fn check_destructors() { struct TestCell { value: RefCell<u8>, } impl Drop ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/tls/tls_static.rs
src/tools/miri/tests/pass/tls/tls_static.rs
//@revisions: stack tree //@[tree]compile-flags: -Zmiri-tree-borrows //@compile-flags: -Zmiri-strict-provenance //! The main purpose of this test is to check that if we take a pointer to //! thread's `t1` thread-local `A` and send it to another thread `t2`, //! dereferencing the pointer on `t2` resolves to `t1`'s thre...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/tls/windows-tls.rs
src/tools/miri/tests/pass/tls/windows-tls.rs
//@only-target: windows # this directly tests windows-only functions use std::ffi::c_void; use std::ptr; extern "system" { fn TlsAlloc() -> u32; fn TlsSetValue(key: u32, val: *mut c_void) -> bool; fn TlsGetValue(key: u32) -> *mut c_void; fn TlsFree(key: u32) -> bool; } fn main() { let key = unsaf...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/stacked_borrows/stack-printing.rs
src/tools/miri/tests/pass/stacked_borrows/stack-printing.rs
// We disable the GC for this test because it would change what is printed. We are testing the // printing, not how it interacts with the GC. //@compile-flags: -Zmiri-permissive-provenance -Zmiri-provenance-gc=0 use std::alloc::{self, Layout}; use std::mem::ManuallyDrop; extern "Rust" { fn miri_get_alloc_id(ptr: ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/stacked_borrows/coroutine-self-referential.rs
src/tools/miri/tests/pass/stacked_borrows/coroutine-self-referential.rs
// See https://github.com/rust-lang/unsafe-code-guidelines/issues/148: // this fails when Stacked Borrows is strictly applied even to `!Unpin` types. #![feature(coroutines, coroutine_trait, stmt_expr_attributes)] use std::ops::{Coroutine, CoroutineState}; use std::pin::Pin; fn firstn() -> impl Coroutine<Yield = u64, ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/stacked_borrows/stacked-borrows.rs
src/tools/miri/tests/pass/stacked_borrows/stacked-borrows.rs
// FIXME: this miscompiles with optimizations, see <https://github.com/rust-lang/rust/issues/132898>. //@compile-flags: -Zmir-opt-level=0 // Test various stacked-borrows-specific things // (i.e., these do not work the same under TB). fn main() { mut_raw_mut2(); // direct_mut_to_const_raw(); two_phase_alias...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/stacked_borrows/zst-field-retagging-terminates.rs
src/tools/miri/tests/pass/stacked_borrows/zst-field-retagging-terminates.rs
// Checks that the test does not run forever (which relies on a fast path). #![allow(dropping_copy_types)] fn main() { let array = [(); usize::MAX]; drop(array); // Pass the array to a function, retagging its fields }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/stacked_borrows/unknown-bottom-gc.rs
src/tools/miri/tests/pass/stacked_borrows/unknown-bottom-gc.rs
//@compile-flags: -Zmiri-permissive-provenance use std::ptr; fn main() { let mut v = 1u8; let ptr = &mut v as *mut u8; // Expose the allocation and use the exposed pointer, creating an unknown bottom unsafe { let p: *mut u8 = ptr::with_exposed_provenance::<u8>(ptr.expose_provenance()) as *mut...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/both_borrows/basic_aliasing_model.rs
src/tools/miri/tests/pass/both_borrows/basic_aliasing_model.rs
//@revisions: stack tree //@[tree]compile-flags: -Zmiri-tree-borrows #![feature(allocator_api)] use std::alloc::{Layout, alloc, dealloc}; use std::cell::Cell; use std::ptr; // Test various aliasing-model-related things. fn main() { read_does_not_invalidate1(); read_does_not_invalidate2(); mut_raw_then_mut_...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/both_borrows/issue-miri-2389.rs
src/tools/miri/tests/pass/both_borrows/issue-miri-2389.rs
//@revisions: stack tree //@compile-flags: -Zmiri-permissive-provenance //@[tree]compile-flags: -Zmiri-tree-borrows use std::cell::Cell; fn main() { unsafe { let root0 = Cell::new(42); let wildcard = &root0 as *const Cell<i32> as usize as *const Cell<i32>; // empty the stack to unknown (via...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/both_borrows/unsafe_pinned.rs
src/tools/miri/tests/pass/both_borrows/unsafe_pinned.rs
//@revisions: stack tree //@[tree]compile-flags: -Zmiri-tree-borrows #![feature(unsafe_pinned)] use std::pin::UnsafePinned; fn mutate(x: &UnsafePinned<i32>) { let ptr = x as *const _ as *mut i32; unsafe { ptr.write(42) }; } fn main() { let x = UnsafePinned::new(0); mutate(&x); assert_eq!(x.into_i...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/both_borrows/interior_mutability.rs
src/tools/miri/tests/pass/both_borrows/interior_mutability.rs
//@revisions: stack tree //@[tree]compile-flags: -Zmiri-tree-borrows #![allow(dangerous_implicit_autorefs)] use std::cell::{Cell, Ref, RefCell, RefMut, UnsafeCell}; use std::mem::{self, MaybeUninit}; fn main() { aliasing_mut_and_shr(); aliasing_frz_and_shr(); into_interior_mutability(); unsafe_cell_2p...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/both_borrows/int-to-ptr.rs
src/tools/miri/tests/pass/both_borrows/int-to-ptr.rs
//@revisions: stack tree //@compile-flags: -Zmiri-permissive-provenance //@[tree]compile-flags: -Zmiri-tree-borrows use std::ptr; // Just to make sure that casting a ref to raw, to int and back to raw // and only then using it works. This rules out ideas like "do escape-to-raw lazily"; // after casting to int and back...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/both_borrows/smallvec.rs
src/tools/miri/tests/pass/both_borrows/smallvec.rs
//! This test represents a core part of `SmallVec`'s `extend_impl`. //! What makes it interesting as a test is that it relies on Stacked Borrow's "quirk" //! in a fundamental, hard-to-fix-without-full-trees way. //@revisions: stack tree //@[tree]compile-flags: -Zmiri-tree-borrows use std::marker::PhantomData; use std...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/both_borrows/2phase.rs
src/tools/miri/tests/pass/both_borrows/2phase.rs
//@revisions: stack tree //@[tree]compile-flags: -Zmiri-tree-borrows trait S: Sized { fn tpb(&mut self, _s: Self) {} } impl S for i32 {} fn two_phase1() { let mut x = 3; x.tpb(x); } fn two_phase2() { let mut v = vec![]; v.push(v.len()); } fn two_phase3(b: bool) { let mut x = &mut vec![]; ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/available-parallelism.rs
src/tools/miri/tests/pass/shims/available-parallelism.rs
//@revisions: stack tree //@[tree]compile-flags: -Zmiri-tree-borrows fn main() { assert_eq!(std::thread::available_parallelism().unwrap().get(), 1); }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/random.rs
src/tools/miri/tests/pass/shims/random.rs
#![feature(random)] fn main() { let _x: i32 = std::random::random(..); }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/windows-threadname.rs
src/tools/miri/tests/pass/shims/windows-threadname.rs
//@only-target: windows # this directly tests windows-only functions use core::ffi::c_void; use std::ffi::OsStr; use std::os::windows::ffi::OsStrExt; type HANDLE = *mut c_void; type PWSTR = *mut u16; type PCWSTR = *const u16; type HRESULT = i32; type HLOCAL = *mut ::core::ffi::c_void; extern "system" { fn GetCurre...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/sleep_long.rs
src/tools/miri/tests/pass/shims/sleep_long.rs
//@compile-flags: -Zmiri-ignore-leaks -Zmiri-disable-isolation use std::sync::{Arc, Mutex}; use std::thread; use std::time::Duration; fn main() { let finished = Arc::new(Mutex::new(false)); let t_finished = finished.clone(); thread::spawn(move || { // Sleep very, very long. thread::sleep(Du...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/io.rs
src/tools/miri/tests/pass/shims/io.rs
use std::io::{self, IsTerminal, Write}; fn main() { io::stdout().write_all(b"stdout\n").unwrap(); io::stderr().write_all(b"stderr\n").unwrap(); // We can't assume that this is truly a terminal, but we can check that the call succeeds. io::stdout().is_terminal(); // Ensure we can format `io::Error...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/available-parallelism-miri-num-cpus.rs
src/tools/miri/tests/pass/shims/available-parallelism-miri-num-cpus.rs
//@compile-flags: -Zmiri-num-cpus=1024 use std::num::NonZero; use std::thread::available_parallelism; fn main() { assert_eq!(available_parallelism().unwrap(), NonZero::new(1024).unwrap()); }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/fs.rs
src/tools/miri/tests/pass/shims/fs.rs
//@compile-flags: -Zmiri-disable-isolation #![feature(io_error_more)] #![feature(io_error_uncategorized)] use std::collections::BTreeMap; use std::ffi::OsString; use std::fs::{ self, File, OpenOptions, create_dir, read_dir, remove_dir, remove_dir_all, remove_file, rename, }; use std::io::{Error, ErrorKind, IsTerm...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/time.rs
src/tools/miri/tests/pass/shims/time.rs
//@compile-flags: -Zmiri-disable-isolation #![feature(thread_sleep_until)] use std::time::{Duration, Instant, SystemTime}; fn duration_sanity(diff: Duration) { // On my laptop, I observed times around 15-40ms. Add 10x lee-way both ways. assert!(diff.as_millis() > 1); assert!(diff.as_millis() < 1000); // m...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/windows-rand.rs
src/tools/miri/tests/pass/shims/windows-rand.rs
//@only-target: windows # this directly tests windows-only functions use core::ffi::c_void; use core::mem::size_of_val; use core::ptr::null_mut; // Windows API definitions. type NTSTATUS = i32; type BOOLEAN = u8; type BOOL = i32; // yes, seriously, BOOL and BOOLEAN are very different... const BCRYPT_USE_SYSTEM_PREFERR...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/fs-symlink.rs
src/tools/miri/tests/pass/shims/fs-symlink.rs
// Symlink tests are separate since they don't in general work on a Windows host. //@ignore-host: windows # creating symlinks requires admin permissions on Windows //@ignore-target: windows # File handling is not implemented yet //@compile-flags: -Zmiri-disable-isolation use std::fs::{File, read_link, remove_file}; us...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/ptr_mask.rs
src/tools/miri/tests/pass/shims/ptr_mask.rs
#![feature(ptr_mask)] fn main() { let v: u32 = 0xABCDABCD; let ptr: *const u32 = &v; // u32 is 4 aligned, // so the lower `log2(4) = 2` bits of the address are always 0 assert_eq!(ptr.addr() & 0b11, 0); let tagged_ptr = ptr.map_addr(|a| a | 0b11); let tag = tagged_ptr.addr() & 0b11; l...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/fs-with-isolation.rs
src/tools/miri/tests/pass/shims/fs-with-isolation.rs
//@ignore-target: windows # File handling is not implemented yet //@compile-flags: -Zmiri-isolation-error=warn-nobacktrace //@normalize-stderr-test: "(stat(x)?)" -> "$$STAT" use std::fs::{self, File}; use std::io::ErrorKind; use std::os::unix; fn main() { // test `open` assert_eq!(File::create("foo.txt").unwr...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/pipe.rs
src/tools/miri/tests/pass/shims/pipe.rs
//@ignore-target: windows use std::io::{Read, Write, pipe}; fn main() { let (mut ping_rx, mut ping_tx) = pipe().unwrap(); ping_tx.write_all(b"hello").unwrap(); let mut buf: [u8; 5] = [0; 5]; ping_rx.read_exact(&mut buf).unwrap(); assert_eq!(&buf, "hello".as_bytes()); }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/ctor.rs
src/tools/miri/tests/pass/shims/ctor.rs
use std::sync::atomic::{AtomicUsize, Ordering}; static COUNT: AtomicUsize = AtomicUsize::new(0); unsafe extern "C" fn ctor<const N: usize>() { COUNT.fetch_add(N, Ordering::Relaxed); } #[rustfmt::skip] macro_rules! ctor { ($ident:ident: $ty:ty = $ctor:expr) => { #[cfg_attr( all(any( ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/exit.rs
src/tools/miri/tests/pass/shims/exit.rs
fn main() { std::process::exit(0) }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/time-with-isolation.rs
src/tools/miri/tests/pass/shims/time-with-isolation.rs
use std::time::{Duration, Instant}; fn test_sleep() { // We sleep a *long* time here -- but the clock is virtual so the test should still pass quickly. let before = Instant::now(); std::thread::sleep(Duration::from_secs(3600)); let after = Instant::now(); assert!((after - before).as_secs() >= 3600)...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/env/var-without-isolation.rs
src/tools/miri/tests/pass/shims/env/var-without-isolation.rs
//@compile-flags: -Zmiri-disable-isolation fn main() { assert_eq!(std::env::var("MIRI_ENV_VAR_TEST"), Ok("0".to_owned())); }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/env/args.rs
src/tools/miri/tests/pass/shims/env/args.rs
fn main() { for arg in std::env::args() { println!("{}", arg); } }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/env/home.rs
src/tools/miri/tests/pass/shims/env/home.rs
//@compile-flags: -Zmiri-disable-isolation use std::env; fn main() { // Remove the env vars to hit the underlying shim -- except // on android where the env var is all we have. #[cfg(not(target_os = "android"))] env::remove_var("HOME"); env::remove_var("USERPROFILE"); #[allow(deprecated)] ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/env/current_dir_with_isolation.rs
src/tools/miri/tests/pass/shims/env/current_dir_with_isolation.rs
//@compile-flags: -Zmiri-isolation-error=warn-nobacktrace //@normalize-stderr-test: "(getcwd|GetCurrentDirectoryW)" -> "$$GETCWD" //@normalize-stderr-test: "(chdir|SetCurrentDirectoryW)" -> "$$SETCWD" use std::env; use std::io::ErrorKind; fn main() { // Test that current dir operations return a proper error inste...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/env/var-forward.rs
src/tools/miri/tests/pass/shims/env/var-forward.rs
//@compile-flags: -Zmiri-env-forward=MIRI_ENV_VAR_TEST fn main() { assert_eq!(std::env::var("MIRI_ENV_VAR_TEST"), Ok("0".to_owned())); }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/env/current_exe.rs
src/tools/miri/tests/pass/shims/env/current_exe.rs
//@only-on-host: the Linux std implementation opens /proc/self/exe, which doesn't work cross-target //@compile-flags: -Zmiri-disable-isolation use std::env; fn main() { // The actual value we get is a bit odd: we get the Miri binary that interprets us. env::current_exe().unwrap(); }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/env/var-set.rs
src/tools/miri/tests/pass/shims/env/var-set.rs
// Test a value set on the host (MIRI_ENV_VAR_TEST) and one that is not. //@compile-flags: -Zmiri-env-set=MIRI_ENV_VAR_TEST=test_value_1 -Zmiri-env-set=TEST_VAR_2=test_value_2 fn main() { assert_eq!(std::env::var("MIRI_ENV_VAR_TEST"), Ok("test_value_1".to_owned())); assert_eq!(std::env::var("TEST_VAR_2"), Ok("...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/env/current_dir.rs
src/tools/miri/tests/pass/shims/env/current_dir.rs
//@compile-flags: -Zmiri-disable-isolation use std::env; use std::io::ErrorKind; fn main() { // Test that `getcwd` is available and an absolute path let cwd = env::current_dir().unwrap(); assert!(cwd.is_absolute(), "cwd {:?} is not absolute", cwd); // Test that changing dir to `..` actually sets the cu...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/env/var.rs
src/tools/miri/tests/pass/shims/env/var.rs
//@compile-flags: -Zmiri-deterministic-concurrency use std::{env, thread}; fn main() { // Test that miri environment is isolated when communication is disabled. // (`MIRI_ENV_VAR_TEST` is set by the test harness.) assert_eq!(env::var("MIRI_ENV_VAR_TEST"), Err(env::VarError::NotPresent)); // Test base ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/aarch64/intrinsics-aarch64-neon.rs
src/tools/miri/tests/pass/shims/aarch64/intrinsics-aarch64-neon.rs
// We're testing aarch64 target specific features //@only-target: aarch64 //@compile-flags: -C target-feature=+neon use std::arch::aarch64::*; use std::arch::is_aarch64_feature_detected; fn main() { assert!(is_aarch64_feature_detected!("neon")); unsafe { test_neon(); } } #[target_feature(enable ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/rounding-error.rs
src/tools/miri/tests/pass/shims/x86/rounding-error.rs
// We're testing x86 target specific features //@only-target: x86_64 i686 //! rsqrt and rcp SSE/AVX operations are approximate. We use that as license to treat them as //! non-deterministic. Ensure that we do indeed see random results within the expected error bounds. #[cfg(target_arch = "x86")] use std::arch::x86::*...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86-sse42.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86-sse42.rs
// We're testing x86 target specific features //@only-target: x86_64 i686 //@compile-flags: -C target-feature=+sse4.2 #[cfg(target_arch = "x86")] use std::arch::x86::*; #[cfg(target_arch = "x86_64")] use std::arch::x86_64::*; use std::mem::transmute; fn main() { assert!(is_x86_feature_detected!("sse4.2")); u...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86-gfni.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86-gfni.rs
// We're testing x86 target specific features //@only-target: x86_64 i686 //@compile-flags: -C target-feature=+gfni,+avx512f // The constants in the tests below are just bit patterns. They should not // be interpreted as integers; signedness does not make sense for them, but // __mXXXi happens to be defined in terms o...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86-avx512.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86-avx512.rs
// We're testing x86 target specific features //@only-target: x86_64 i686 //@compile-flags: -C target-feature=+avx512f,+avx512vl,+avx512bitalg,+avx512vpopcntdq #[cfg(target_arch = "x86")] use std::arch::x86::*; #[cfg(target_arch = "x86_64")] use std::arch::x86_64::*; use std::mem::transmute; fn main() { assert!(i...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86-bmi.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86-bmi.rs
// We're testing x86 target specific features //@only-target: x86_64 i686 //@compile-flags: -C target-feature=+bmi1,+bmi2 #[cfg(target_arch = "x86")] use std::arch::x86::*; #[cfg(target_arch = "x86_64")] use std::arch::x86_64::*; fn main() { // BMI1 and BMI2 are independent from each other, so both must be checke...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86-aes-vaes.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86-aes-vaes.rs
// We're testing x86 target specific features //@only-target: x86_64 i686 //@compile-flags: -C target-feature=+aes,+vaes,+avx512f use core::mem::transmute; #[cfg(target_arch = "x86")] use std::arch::x86::*; #[cfg(target_arch = "x86_64")] use std::arch::x86_64::*; fn main() { assert!(is_x86_feature_detected!("aes"...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86-avx2.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86-avx2.rs
// We're testing x86 target specific features //@only-target: x86_64 i686 //@compile-flags: -C target-feature=+avx2 #[cfg(target_arch = "x86")] use std::arch::x86::*; #[cfg(target_arch = "x86_64")] use std::arch::x86_64::*; use std::mem::transmute; fn main() { assert!(is_x86_feature_detected!("avx2")); unsaf...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
true
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86-vpclmulqdq.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86-vpclmulqdq.rs
// We're testing x86 target specific features //@revisions: avx512 avx //@only-target: x86_64 i686 //@[avx512]compile-flags: -C target-feature=+vpclmulqdq,+avx512f //@[avx]compile-flags: -C target-feature=+vpclmulqdq,+avx2 // The constants in the tests below are just bit patterns. They should not // be interpreted as ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86-sse41.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86-sse41.rs
// We're testing x86 target specific features //@only-target: x86_64 i686 //@compile-flags: -C target-feature=+sse4.1 #[cfg(target_arch = "x86")] use std::arch::x86::*; #[cfg(target_arch = "x86_64")] use std::arch::x86_64::*; use std::mem::transmute; fn main() { assert!(is_x86_feature_detected!("sse4.1")); u...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-sha.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-sha.rs
// We're testing x86 target specific features //@only-target: x86_64 i686 //@compile-flags: -C target-feature=+sha,+sse2,+ssse3,+sse4.1 #[cfg(target_arch = "x86")] use std::arch::x86::*; #[cfg(target_arch = "x86_64")] use std::arch::x86_64::*; macro_rules! rounds4 { ($abef:ident, $cdgh:ident, $rest:expr, $i:expr)...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86-pclmulqdq.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86-pclmulqdq.rs
// We're testing x86 target specific features //@only-target: x86_64 i686 //@compile-flags: -C target-feature=+pclmulqdq #[cfg(target_arch = "x86")] use std::arch::x86::*; #[cfg(target_arch = "x86_64")] use std::arch::x86_64::*; fn main() { assert!(is_x86_feature_detected!("pclmulqdq")); let a = (0x7ffffffff...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86-avx.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86-avx.rs
// We're testing x86 target specific features //@only-target: x86_64 i686 //@compile-flags: -C target-feature=+avx #[cfg(target_arch = "x86")] use std::arch::x86::*; #[cfg(target_arch = "x86_64")] use std::arch::x86_64::*; use std::mem::transmute; fn main() { assert!(is_x86_feature_detected!("avx")); unsafe ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
true
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86-sse2.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86-sse2.rs
// We're testing x86 target specific features //@only-target: x86_64 i686 #![allow(unnecessary_transmutes)] #[cfg(target_arch = "x86")] use std::arch::x86::*; #[cfg(target_arch = "x86_64")] use std::arch::x86_64::*; use std::f64::NAN; use std::mem::transmute; fn main() { assert!(is_x86_feature_detected!("sse2"));...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86-sse.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86-sse.rs
// We're testing x86 target specific features //@only-target: x86_64 i686 #![allow(unnecessary_transmutes)] #[cfg(target_arch = "x86")] use std::arch::x86::*; #[cfg(target_arch = "x86_64")] use std::arch::x86_64::*; use std::f32::NAN; use std::mem::transmute; fn main() { assert!(is_x86_feature_detected!("sse")); ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
true
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86-adx.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86-adx.rs
// We're testing x86 target specific features //@only-target: x86_64 i686 //@compile-flags: -C target-feature=+adx #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] mod x86 { #[cfg(target_arch = "x86")] use core::arch::x86 as arch; #[cfg(target_arch = "x86_64")] use core::arch::x86_64 as arch; ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86.rs
#[cfg(any(target_arch = "x86", target_arch = "x86_64"))] mod x86 { #[cfg(target_arch = "x86")] use core::arch::x86 as arch; #[cfg(target_arch = "x86_64")] use core::arch::x86_64 as arch; fn adc(c_in: u8, a: u32, b: u32) -> (u8, u32) { let mut sum = 0; let c_out = arch::_addcarry_u32...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86-sse3-ssse3.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86-sse3-ssse3.rs
// We're testing x86 target specific features //@only-target: x86_64 i686 // SSSE3 implicitly enables SSE3 //@compile-flags: -C target-feature=+ssse3 use core::mem::transmute; #[cfg(target_arch = "x86")] use std::arch::x86::*; #[cfg(target_arch = "x86_64")] use std::arch::x86_64::*; fn main() { // SSSE3 implicitl...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/shims/x86/intrinsics-x86-pause-without-sse2.rs
src/tools/miri/tests/pass/shims/x86/intrinsics-x86-pause-without-sse2.rs
// We're testing x86-32 target specific features. SSE always exists on x86-64. //@only-target: i686 //@compile-flags: -C target-feature=-sse2 #[cfg(target_arch = "x86")] use std::arch::x86::*; #[cfg(target_arch = "x86_64")] use std::arch::x86_64::*; fn main() { assert!(!is_x86_feature_detected!("sse2")); _mm_...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/concurrency/threadname.rs
src/tools/miri/tests/pass/concurrency/threadname.rs
use std::thread; fn main() { // When we have not set the name... thread::spawn(|| { assert!(thread::current().name().is_none()); }); // ... and when we have set it. thread::Builder::new() .name("childthread".to_string()) .spawn(move || { assert_eq!(thread::curre...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/concurrency/channels.rs
src/tools/miri/tests/pass/concurrency/channels.rs
//@revisions: stack tree //@[tree]compile-flags: -Zmiri-tree-borrows //@compile-flags: -Zmiri-strict-provenance use std::sync::mpsc::{channel, sync_channel}; use std::thread; // Check if channels are working. /// The test taken from the Rust documentation. fn simple_send() { let (tx, rx) = channel(); let t =...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/concurrency/mutex_leak.rs
src/tools/miri/tests/pass/concurrency/mutex_leak.rs
//@compile-flags: -Zmiri-ignore-leaks use std::mem; use std::sync::Mutex; fn main() { // Test for https://github.com/rust-lang/rust/issues/85434 let m = Mutex::new(5i32); mem::forget(m.lock()); }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/concurrency/issue-miri-1643.rs
src/tools/miri/tests/pass/concurrency/issue-miri-1643.rs
use std::thread::spawn; fn initialize() { initialize_inner(&mut || false) } fn initialize_inner(_init: &mut dyn FnMut() -> bool) {} fn main() { let j1 = spawn(initialize); let j2 = spawn(initialize); j1.join().unwrap(); j2.join().unwrap(); }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/concurrency/address_reuse_happens_before.rs
src/tools/miri/tests/pass/concurrency/address_reuse_happens_before.rs
//! Regression test for <https://github.com/rust-lang/miri/issues/3450>: //! When the address gets reused, there should be a happens-before relation. //@compile-flags: -Zmiri-address-reuse-cross-thread-rate=1.0 #![feature(sync_unsafe_cell)] use std::cell::SyncUnsafeCell; use std::sync::atomic::AtomicUsize; use std::sy...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/concurrency/sync.rs
src/tools/miri/tests/pass/concurrency/sync.rs
//@revisions: stack tree //@[tree]compile-flags: -Zmiri-tree-borrows // We use `yield` to test specific interleavings, so disable automatic preemption. //@compile-flags: -Zmiri-disable-isolation -Zmiri-deterministic-concurrency use std::sync::{Arc, Barrier, Condvar, Mutex, Once, RwLock}; use std::thread; use std::time...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/concurrency/spin_loop.rs
src/tools/miri/tests/pass/concurrency/spin_loop.rs
use std::sync::atomic::{AtomicUsize, Ordering}; use std::thread; static FLAG: AtomicUsize = AtomicUsize::new(0); fn spin() { let j = thread::spawn(|| { while FLAG.load(Ordering::Acquire) == 0 { // We do *not* yield, and yet this should terminate eventually. } }); thread::yield_...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/concurrency/concurrent_caller_location.rs
src/tools/miri/tests/pass/concurrency/concurrent_caller_location.rs
use std::panic::Location; use std::thread::spawn; fn initialize() { let _ignore = initialize_inner(); } fn initialize_inner() -> &'static Location<'static> { Location::caller() } fn main() { let j1 = spawn(initialize); let j2 = spawn(initialize); j1.join().unwrap(); j2.join().unwrap(); }
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/concurrency/simple.rs
src/tools/miri/tests/pass/concurrency/simple.rs
//@compile-flags: -Zmiri-strict-provenance use std::thread; fn create_and_detach() { thread::spawn(|| ()); } fn create_and_join() { thread::spawn(|| ()).join().unwrap(); } fn create_and_get_result() { let nine = thread::spawn(|| 5 + 4).join().unwrap(); assert_eq!(nine, 9); } fn create_and_leak_resu...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/concurrency/scope.rs
src/tools/miri/tests/pass/concurrency/scope.rs
use std::thread; fn main() { let mut a = vec![1, 2, 3]; let mut x = 0; thread::scope(|s| { s.spawn(|| { // We can borrow `a` here. let _s = format!("hello from the first scoped thread: {a:?}"); }); s.spawn(|| { let _s = format!("hello from the se...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/concurrency/sync_singlethread.rs
src/tools/miri/tests/pass/concurrency/sync_singlethread.rs
use std::hint; use std::sync::{Mutex, TryLockError, atomic}; fn main() { test_mutex_stdlib(); test_rwlock_stdlib(); test_spin_loop_hint(); test_thread_yield_now(); } fn test_mutex_stdlib() { let m = Mutex::new(0); { let _guard = m.lock(); assert!(m.try_lock().unwrap_err().would...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/concurrency/data_race.rs
src/tools/miri/tests/pass/concurrency/data_race.rs
// This tests carefully crafted schedules to ensure they are not considered races. //@compile-flags: -Zmiri-deterministic-concurrency use std::sync::atomic::*; use std::thread::{self, spawn}; #[derive(Copy, Clone)] struct EvilSend<T>(pub T); unsafe impl<T> Send for EvilSend<T> {} unsafe impl<T> Sync for EvilSend<T> ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false
rust-lang/rust
https://github.com/rust-lang/rust/blob/f8b1d59a81c700cb7aa25cf69e3032b3ce333150/src/tools/miri/tests/pass/concurrency/issue-miri-4655-mix-atomic-nonatomic.rs
src/tools/miri/tests/pass/concurrency/issue-miri-4655-mix-atomic-nonatomic.rs
//! This reproduces #4655 every single time //@ compile-flags: -Zmiri-fixed-schedule -Zmiri-disable-stacked-borrows use std::sync::atomic::{AtomicUsize, Ordering}; use std::{ptr, thread}; const SIZE: usize = 256; static mut ARRAY: [u8; SIZE] = [0; _]; // Everything strictly less than this has been initialized by the ...
rust
Apache-2.0
f8b1d59a81c700cb7aa25cf69e3032b3ce333150
2026-01-04T15:31:58.503980Z
false