Skip to content

Commit aad47db

Browse files
committed
Merge remote-tracking branch 'origin/master' into mut-visitor
2 parents 19f8a9d + dc2d15d commit aad47db

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ script:
3535
- set -e
3636
- |
3737
# Test and install plain miri
38-
cargo build --release --all-features &&
38+
cargo build --release --all-features --all-targets &&
3939
cargo test --release --all-features &&
4040
cargo install --all-features --force --path .
4141
- |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ nightly).
7777

7878
## Running Miri on your own project('s test suite)
7979

80-
Install Miri as a cargo subcommand with `cargo install +nightly --all-features
80+
Install Miri as a cargo subcommand with `cargo +nightly install --all-features
8181
--path .`. Be aware that if you used `rustup override set` to fix a particular
8282
Rust version for the miri directory, that will *not* apply to your own project
8383
directory! You have to use a consistent Rust version for building miri and your

appveyor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ build: false
3737
test_script:
3838
- set RUSTFLAGS=-g
3939
- set RUST_BACKTRACE=1
40-
- cargo build --release
41-
- cargo test --release
40+
- cargo build --release --all-targets --all-features
41+
- cargo test --release --all-features
4242
- set MIRI_SYSROOT=%USERPROFILE%\.xargo\HOST
43-
- cargo test --release
43+
- cargo test --release --all-features
4444

4545
notifications:
4646
- provider: Email

benches/fibonacci.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#![feature(test, rustc_private)]
22

33
extern crate test;
4-
use test::Bencher;
4+
use crate::test::Bencher;
55
mod helpers;
6-
use helpers::*;
6+
use crate::helpers::*;
77

88
#[bench]
99
fn fib(bencher: &mut Bencher) {

benches/helpers/miri_helper.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use self::miri::eval_main;
88
use self::rustc_driver::{driver, Compilation};
99
use std::cell::RefCell;
1010
use std::rc::Rc;
11-
use test::Bencher;
11+
use crate::test::Bencher;
1212

1313
pub struct MiriCompilerCalls<'a>(Rc<RefCell<&'a mut Bencher>>);
1414

@@ -50,7 +50,7 @@ pub fn run(filename: &str, bencher: &mut Bencher) {
5050
let entry_def_id = tcx.hir.local_def_id(entry_node_id);
5151

5252
bencher.borrow_mut().iter(|| {
53-
eval_main(tcx, entry_def_id, None);
53+
eval_main(tcx, entry_def_id, false);
5454
});
5555

5656
state.session.abort_if_errors();

benches/repeat.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#![feature(test, rustc_private)]
22

33
extern crate test;
4-
use test::Bencher;
4+
use crate::test::Bencher;
55
mod helpers;
6-
use helpers::*;
6+
use crate::helpers::*;
77

88
#[bench]
99
fn repeat(bencher: &mut Bencher) {

benches/smoke.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#![feature(test, rustc_private)]
22

33
extern crate test;
4-
use test::Bencher;
4+
use crate::test::Bencher;
55
mod helpers;
6-
use helpers::*;
6+
use crate::helpers::*;
77

88
#[bench]
99
fn noop(bencher: &mut Bencher) {

0 commit comments

Comments
 (0)