mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-20 00:00:10 +02:00
Merge commit from fork
* Add repro for integer overflow Signed-off-by: Alice Ryhl <[email protected]> * Always check overflow in new_cap + offset Signed-off-by: Alice Ryhl <[email protected]> --------- Signed-off-by: Alice Ryhl <[email protected]>
This commit is contained in:
@@ -8,3 +8,6 @@ export MIRIFLAGS="-Zmiri-strict-provenance"
|
||||
|
||||
cargo miri test
|
||||
cargo miri test --target mips64-unknown-linux-gnuabi64
|
||||
|
||||
# run with wrapping integer overflow instead of panic
|
||||
cargo miri test --release
|
||||
|
||||
Reference in New Issue
Block a user