You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# This file is automatically @generated by Cargo.# It is not intended for manual editing.version = 3
[[package]]
name = "heap-vec"version = "0.1.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "a39c5a6cd0011a69d1f643be9b2f6d52b7ad45e447936bed1640d57eceb18fc2"
[[package]]
name = "heap_vec_ub"version = "0.1.0"dependencies = [
"heap-vec",
]
main.rs:
use heap_vec::HeapVec;fnmain(){letmut v = HeapVec::new();
v.push(1u8);}
Cargo.lock
:main.rs
:MIRIFLAGS="-Zmiri-ignore-leaks -Zmiri-backtrace=full" cargo +nightly miri run
:full output
output of
cargo +nightly -vV
:I can't reproduce on heap_vec's test code with same command, but running miri on the main.rs reports UB.
The text was updated successfully, but these errors were encountered: