-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
117 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
rustup toolchain install nightly --component miri | ||
rustup override set nightly | ||
cargo miri setup | ||
|
||
export MIRIFLAGS="-Zmiri-strict-provenance -Zmiri-disable-isolation -Zmiri-symbolic-alignment-check" | ||
|
||
cargo miri test --tests --target x86_64-unknown-linux-gnu --all-features | ||
# cargo miri test --tests --target aarch64-unknown-linux-gnu #crossbeam_utils has problem on this platform | ||
cargo miri test --tests --target i686-unknown-linux-gnu --all-features | ||
cargo miri test --tests --target powerpc64-unknown-linux-gnu --all-features |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
rustup toolchain install nightly --component miri | ||
rustup override set nightly | ||
cargo miri setup | ||
|
||
export MIRIFLAGS="-Zmiri-strict-provenance -Zmiri-disable-isolation -Zmiri-symbolic-alignment-check" | ||
|
||
cargo miri test --tests --all-features |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
rustup toolchain install nightly --component miri | ||
rustup override set nightly | ||
cargo miri setup | ||
|
||
export MIRIFLAGS="-Zmiri-strict-provenance -Zmiri-disable-isolation -Zmiri-symbolic-alignment-check -Zmiri-tree-borrows" | ||
|
||
cargo miri test --tests --target x86_64-unknown-linux-gnu --all-features | ||
# cargo miri test --tests --target aarch64-unknown-linux-gnu #crossbeam_utils has problem on this platform | ||
cargo miri test --tests --target i686-unknown-linux-gnu --all-features | ||
cargo miri test --tests --target powerpc64-unknown-linux-gnu --all-features |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
rustup toolchain install nightly --component miri | ||
rustup override set nightly | ||
cargo miri setup | ||
|
||
export MIRIFLAGS="-Zmiri-strict-provenance -Zmiri-disable-isolation -Zmiri-symbolic-alignment-check -Zmiri-tree-borrows" | ||
|
||
cargo miri test --tests --all-features |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
|
||
export ASAN_OPTIONS="detect_odr_violation=0 detect_leaks=0" | ||
|
||
# Run address sanitizer | ||
RUSTFLAGS="-Z sanitizer=address" \ | ||
cargo test --tests --all-features | ||
|
||
# Run leak sanitizer | ||
RUSTFLAGS="-Z sanitizer=leak" \ | ||
cargo test --tests --all-features | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters