Skip to content

Commit

Permalink
Merge pull request rust-lang#280 from solson/archeology
Browse files Browse the repository at this point in the history
Produce backtraces for miri internals
  • Loading branch information
oli-obk authored Aug 3, 2017
2 parents 5aed318 + 2cf3949 commit 726b027
Show file tree
Hide file tree
Showing 26 changed files with 333 additions and 177 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ script:
xargo/build.sh
- |
# Test plain miri
cargo build &&
cargo test &&
cargo build --release &&
cargo test --release &&
cargo install
- |
# Test cargo miri
Expand All @@ -26,11 +26,11 @@ script:
cd ..
- |
# and run all tests with full mir
MIRI_SYSROOT=~/.xargo/HOST cargo test
MIRI_SYSROOT=~/.xargo/HOST cargo test --release
- |
# test that the rustc_tests binary compiles
cd rustc_tests &&
cargo build &&
cargo build --release &&
cd ..
notifications:
email:
Expand Down
76 changes: 76 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ license = "MIT/Apache-2.0"
name = "miri"
repository = "https://github.com/solson/miri"
version = "0.1.0"
build = "build.rs"

[[bin]]
doc = false
Expand Down
6 changes: 6 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
use std::env;

fn main() {
// Forward the profile to the main compilation
println!("cargo:rustc-env=PROFILE={}", env::var("PROFILE").unwrap());
}
Loading

0 comments on commit 726b027

Please sign in to comment.