Skip to content

Commit

Permalink
Merge #55
Browse files Browse the repository at this point in the history
55: install Miri via rustup r=Amanieu a=RalfJung



Co-authored-by: Ralf Jung <post@ralfj.de>
  • Loading branch information
bors[bot] and RalfJung committed Mar 26, 2019
2 parents edf79d0 + 49a9d6c commit 91d3e4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ci/miri.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -ex
export CARGO_NET_RETRY=5
export CARGO_NET_TIMEOUT=10

if cargo install --force --git https://github.com/rust-lang/miri miri ; then
if rustup component add miri ; then
cargo miri setup
cargo miri test
cargo miri test -- -- -Zunstable-options --exclude-should-panic
fi
1 change: 0 additions & 1 deletion src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3219,7 +3219,6 @@ mod test_map {

#[test]
#[should_panic]
#[cfg(not(miri))] // FIXME: https://github.com/rust-lang/miri/issues/636
fn test_index_nonexistent() {
let mut map = HashMap::new();

Expand Down

0 comments on commit 91d3e4a

Please sign in to comment.