rust/src/tools/miri/tests/pass
2025-01-19 10:05:51 -07:00
..
backtrace avoid nesting the user-defined main so deeply on the stack 2025-01-11 15:53:42 +01:00
concurrency move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
function_calls miri: update ABI compat checks to accept Option-like types 2024-11-04 07:50:40 +01:00
intrinsics implement simd_relaxed_fma 2024-12-04 09:16:06 +01:00
issues Stabilize noop_waker 2024-12-05 14:14:17 -08:00
panic Try to write the panic message with a single write_all call 2025-01-01 15:58:29 +01:00
shims fix location of pipe module 2025-01-19 10:05:51 -07:00
stacked-borrows stacked borrows tests: add those that fail under TB 2024-11-11 11:16:19 +01:00
tls miri: implement TlsFree 2024-11-25 16:27:17 +01:00
tree_borrows let rustfmt format imports 2024-09-29 19:26:32 +02:00
weak_memory fmt (with a huge diff for some reason) 2024-09-21 09:40:40 +02:00
0weak_memory_consistency.rs add more tests for SC access/fence consistency 2024-12-18 15:48:20 +01:00
0weak_memory_consistency_sc.rs add more tests for SC access/fence consistency 2024-12-18 15:48:20 +01:00
address-reuse.rs miri: add some chance to reuse addresses of previously freed allocations 2024-03-09 19:57:06 +01:00
adjacent-allocs.rs better diagnostics for Tree Borrows + int2ptr casts 2024-07-26 14:51:04 +02:00
align.rs 1/1000 events do happen sometimes... 2022-10-09 13:41:39 +02:00
align_offset_symbolic.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
align_repeat_into_packed_field.rs fmt 2023-08-02 05:45:02 +00:00
align_repeat_into_well_aligned_array.rs fix alignment handling for Repeat expressions 2023-07-31 19:22:14 +02:00
align_strange_enum_discriminant_offset.rs add some interesting tests for alignment corner cases 2023-07-31 16:07:15 +02:00
alloc-access-tracking.rs Bump ui test 2024-09-16 23:05:42 +02:00
alloc-access-tracking.stderr Bump ui test 2024-09-16 23:05:42 +02:00
arrays.rs fmt 2024-09-10 10:14:03 +02:00
arrays.stdout Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
associated-const.rs TB: select tests to run both TB and SB 2023-03-16 14:56:18 +01:00
assume_bug.rs TB: select tests to run both TB and SB 2023-03-16 14:56:18 +01:00
async-closure-captures.rs Stabilize async closures 2024-12-13 00:04:56 +00:00
async-closure-captures.stdout Force move async-closures that are FnOnce to make their inner coroutines also move 2024-04-04 19:44:51 -04:00
async-closure-drop.rs Stabilize async closures 2024-12-13 00:04:56 +00:00
async-closure-drop.stdout In ConstructCoroutineInClosureShim, pass receiver by ref, not pointer 2024-03-26 12:10:51 -04:00
async-closure.rs Stabilize async closures 2024-12-13 00:04:56 +00:00
async-closure.stdout Fix FnMut/Fn shim for coroutine-closures that capture references 2024-06-29 17:38:02 -04:00
async-drop.rs Stabilize async closures 2024-12-13 00:04:56 +00:00
async-drop.stack.stdout Add simple async drop glue generation 2024-04-16 20:45:07 +03:00
async-drop.tree.stdout Add simple async drop glue generation 2024-04-16 20:45:07 +03:00
async-fn.rs Stabilize noop_waker 2024-12-05 14:14:17 -08:00
async-niche-aliasing.rs let rustfmt format imports 2024-09-29 19:26:32 +02:00
atomic-compare-exchange-weak-never-fail.rs let rustfmt format imports 2024-09-29 19:26:32 +02:00
atomic-readonly-load.rs accept some atomic loads from read-only memory 2023-10-28 13:01:45 +02:00
atomic.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
bad_substs.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
binary-heap.rs remove redundant imports 2023-12-10 10:56:22 +08:00
binops.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
bools.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
box-custom-alloc-aliasing.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
box-custom-alloc.rs let rustfmt format imports 2024-09-29 19:26:32 +02:00
box.rs better diagnostics for Tree Borrows + int2ptr casts 2024-07-26 14:51:04 +02:00
box.stdout better diagnostics for Tree Borrows + int2ptr casts 2024-07-26 14:51:04 +02:00
btreemap.rs update miri test 2023-06-14 09:28:56 +02:00
c_enums.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
calls.rs add test for self-assignment on call through reference 2023-10-09 08:59:38 +02:00
cast-rfc0401-vtable-kinds.rs Miri: detect wrong vtables in wide pointers 2024-04-21 13:04:51 +02:00
cast_fn_ptr.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
cast_fn_ptr_unsafe.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
catch.rs fmt (with a huge diff for some reason) 2024-09-21 09:40:40 +02:00
catch.stdout Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
cfg_miri.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
char.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
closure-drop.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
closure-field-ty.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
closures.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
coerce_non_capture_closure_to_fn_ptr.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
coercions.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
const-addrs.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
const-vec-of-fns.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
constants.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
coroutine.rs let rustfmt format imports 2024-09-29 19:26:32 +02:00
deriving-associated-types.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
disable-alignment-check.rs A MIR transform that checks pointers are aligned 2023-03-23 18:23:06 -04:00
drop_empty_slice.rs Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
drop_in_place.rs fmt 2024-06-05 05:14:39 +00:00
drop_on_array_elements.rs Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
drop_on_fat_ptr_array_elements.rs Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
drop_on_zst_array_elements.rs Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
drop_through_owned_slice.rs Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
drop_through_trait_object.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
drop_through_trait_object_rc.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
drop_type_without_drop_glue.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
dst-field-align.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
dst-irrefutable-bind.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
dst-raw.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
dst-struct-sole.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
dst-struct.rs Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
dyn-arbitrary-self.rs let rustfmt format imports 2024-09-29 19:26:32 +02:00
dyn-star.rs Stabilize noop_waker 2024-12-05 14:14:17 -08:00
dyn-star.stdout basic dyn* support for Miri 2023-02-20 15:08:05 +01:00
dyn-traits.rs miri: make vtable addresses not globally unique 2024-08-06 19:09:31 +02:00
dyn-upcast.rs fmt 2024-10-20 05:04:32 +00:00
dyn-upcast.stdout Add more tests 2024-10-18 00:33:50 +02:00
empty_main.rs alloc now works on wasi (and some formatting) 2024-05-16 11:25:44 +02:00
enum-nullable-const-null-with-fields.rs fmt 2023-12-12 05:12:04 +00:00
enum_discriminant_ptr_value.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
enums.rs interpret: reset padding during validation 2024-09-08 16:53:23 +02:00
extern_crate_std_in_main.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
extern_types.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
extern_types.stack.stderr Bump ui test 2024-09-16 23:05:42 +02:00
fat_ptr.rs Allow unused tuple struct fields in Miri tests 2024-01-02 15:34:37 -05:00
float.rs miri: implement square root without relying on host floats 2024-11-20 20:01:57 +01:00
float_nan.rs fix use of platform_intrinsics in tests 2024-02-25 08:15:44 +01:00
format.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
format.stdout Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
from_utf8.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
function_pointers.rs Allow fn pointers comparisons lint in UI tests 2024-12-02 18:43:37 +01:00
future-self-referential.rs Stabilize noop_waker 2024-12-05 14:14:17 -08:00
getpid.rs Allow getpid in isolation mode, add gettid support 2024-07-24 12:10:05 +02:00
global_allocator.rs Fix spelling 2023-04-14 14:11:03 -04:00
global_allocator.stdout Fix spelling 2023-04-14 14:11:03 -04:00
hashmap.rs TB: select tests to run both TB and SB 2023-03-16 14:56:18 +01:00
heap.rs Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
heap_allocator.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
hello.rs hello: also ensure stderr works 2024-05-05 15:46:13 +02:00
hello.stderr hello: also ensure stderr works 2024-05-05 15:46:13 +02:00
hello.stdout Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
hide_stdout.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
imported_main.rs Stabilize imported_main 2024-03-06 12:01:54 +00:00
imported_main.stdout add tests for imported_main 2024-02-11 17:42:56 +01:00
integer-ops.rs merge two integer tests 2024-05-12 10:25:51 +02:00
intptrcast.rs better diagnostics for Tree Borrows + int2ptr casts 2024-07-26 14:51:04 +02:00
iter.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
last-use-in-cap-clause.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
leak-in-static.rs let rustfmt format imports 2024-09-29 19:26:32 +02:00
linked-list.rs TB: select tests to run both TB and SB 2023-03-16 14:56:18 +01:00
loop-break-value.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
loops.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
main_result.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
many_shr_bor.rs TB: select tests to run both TB and SB 2023-03-16 14:56:18 +01:00
match_slice.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
memchr.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
memleak_ignored.rs TB: select tests to run both TB and SB 2023-03-16 14:56:18 +01:00
miri-alloc.rs Bump ui test 2024-09-16 23:05:42 +02:00
miri_start.rs Add miri_start support 2024-08-02 14:02:34 +02:00
miri_start.stdout Add miri_start support 2024-08-02 14:02:34 +02:00
move-arg-2-unique.rs Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
move-arg-3-unique.rs Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
move-data-across-await-point.rs Stabilize noop_waker 2024-12-05 14:14:17 -08:00
move-uninit-primval.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
mpsc.rs Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
multi_arg_closure.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
negative_discriminant.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
no_std.rs tests/utils: add fmt::Write implementations for miri's native stdout/stderr 2024-04-17 09:47:16 +02:00
no_std.stdout Magic functions for writing to stdout/stderr. 2022-10-19 19:33:02 -07:00
observed_local_mut.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
option_box_transmute_ptr.rs TB: select tests to run both TB and SB 2023-03-16 14:56:18 +01:00
option_eq.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
overflow_checks_off.rs fmt 2024-02-18 05:02:03 +00:00
overloaded-calls-simple.rs simplify no-std tests 2024-03-09 19:10:37 +01:00
packed-struct-dyn-trait.rs fix computing the dynamic alignment of packed structs with dyn trait tails 2023-12-13 20:21:57 +01:00
packed_struct.rs Mark format! with must_use hint 2024-07-06 14:24:20 +02:00
partially-uninit.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
path.rs fmt (with a huge diff for some reason) 2024-09-21 09:40:40 +02:00
pointers.rs better diagnostics for Tree Borrows + int2ptr casts 2024-07-26 14:51:04 +02:00
products.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
protector-gc.rs Visit the AllocIds and BorTags in borrow state FrameExtra 2023-12-16 11:56:42 -05:00
provenance.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
ptr_int_casts.rs show an error on some invalid flag combinations: TB + permissive provenance; strict provenance + native calls 2024-12-25 10:50:48 +01:00
ptr_int_casts.tree.stderr Bump ui test 2024-09-16 23:05:42 +02:00
ptr_int_from_exposed.rs show an error on some invalid flag combinations: TB + permissive provenance; strict provenance + native calls 2024-12-25 10:50:48 +01:00
ptr_int_from_exposed.tree.stderr Bump ui test 2024-09-16 23:05:42 +02:00
ptr_int_transmute.rs TB: select tests to run both TB and SB 2023-03-16 14:56:18 +01:00
ptr_offset.rs Fix spelling 2023-04-14 14:11:03 -04:00
ptr_raw.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
rc.rs miri: Remove feature(new_uninit) 2024-08-27 10:18:53 -07:00
recursive_static.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
reentrant-println.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
reentrant-println.stdout Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
regions-lifetime-nonfree-late-bound.rs Remove uses of box_syntax in rustc and tools 2023-03-12 13:19:46 +00:00
rename_std.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
rfc1623.rs Fix spelling 2023-04-14 14:11:03 -04:00
rust-lang-org.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
send-is-not-static-par-for.rs TB: select tests to run both TB and SB 2023-03-16 14:56:18 +01:00
sendable-class.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
slices.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
small_enum_size_bug.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
specialization.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
start.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
start.stdout Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
static_memory_modification.rs Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
static_mut.rs Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
strange_references.rs ensure we allow zero-sized references to functions and vtables 2023-08-05 09:20:55 +02:00
strings.rs Fix spelling 2023-04-14 14:11:03 -04:00
subslice_array.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
sums.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
sysroot.rs ensure that the proc_macro crate exists in the sysroot 2023-05-05 09:23:25 +02:00
tag-align-dyn-u64.rs replace legacy copyright annotations in submodules 2023-03-09 12:24:47 +01:00
tail_call.rs add miri tests and a fixme 2024-07-07 18:16:38 +02:00
threadleak_ignored.rs TB: select tests to run both TB and SB 2023-03-16 14:56:18 +01:00
threadleak_ignored.stack.stderr TB: select tests to run both TB and SB 2023-03-16 14:56:18 +01:00
threadleak_ignored.tree.stderr TB: select tests to run both TB and SB 2023-03-16 14:56:18 +01:00
too-large-primval-write-problem.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
track-caller-attribute.rs Error on using yield without also using #[coroutine] on the closure 2024-04-24 08:05:29 +00:00
transmute_ptr.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
trivial.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
try-operator-custom.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
tuple_like_enum_variant_constructor.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
tuple_like_enum_variant_constructor_pointer_opt.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
tuple_like_enum_variant_constructor_struct_pointer_opt.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
tuple_like_struct_constructor.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
u128.rs Stabilize bench_black_box 2022-09-27 17:38:51 +02:00
underscore_pattern.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
union-overwrite.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
union.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
unops.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
unsized.rs interpret: fix projecting into an unsized field of a local 2023-08-30 13:43:34 +02:00
validation_lifetime_resolution.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
vec-matching-fold.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
vec.rs vec tets: ensure pointer is still writeable 2023-07-03 13:58:42 +02:00
vecdeque.rs Mark format! with must_use hint 2024-07-06 14:24:20 +02:00
without-validation.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
write-bytes.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
wtf8.rs Bump ui test 2024-09-16 23:05:42 +02:00
zero-sized-accesses-and-offsets.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
zst.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
zst_box.rs Add 'src/tools/miri/' from commit '75dd959a3a' 2022-09-21 15:36:26 +00:00
zst_variant_drop.rs Allow unused tuple struct fields in Miri tests 2024-01-02 15:34:37 -05:00