Skip to content

Commit 7700bd0

Browse files
authored
Merge pull request rust-lang#268 from oli-obk/upstream
Split up miri into the librustc_mir and bin parts
2 parents 6d3c88c + d05784f commit 7700bd0

32 files changed

+2002
-1489
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ script:
1515
xargo/build.sh
1616
- |
1717
# Test plain miri
18-
cd src/librustc_mir/ && cargo build &&
18+
cargo build &&
1919
cargo test &&
20-
cargo install &&
21-
cd ../..
20+
cargo install
2221
- |
2322
# Test cargo miri
2423
cd cargo-miri-test &&
@@ -27,7 +26,7 @@ script:
2726
cd ..
2827
- |
2928
# and run all tests with full mir
30-
cd src/librustc_mir/ && MIRI_SYSROOT=~/.xargo/HOST cargo test && cd ../..
29+
MIRI_SYSROOT=~/.xargo/HOST cargo test
3130
notifications:
3231
email:
3332
on_success: never

Cargo.lock

Lines changed: 41 additions & 115 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[package]
2+
authors = ["Scott Olson <[email protected]>"]
3+
description = "An experimental interpreter for Rust MIR."
4+
license = "MIT/Apache-2.0"
5+
name = "miri"
6+
repository = "https://github.com/solson/miri"
7+
version = "0.1.0"
8+
9+
[[bin]]
10+
doc = false
11+
name = "miri"
12+
test = false
13+
path = "miri/bin/miri.rs"
14+
15+
[[bin]]
16+
doc = false
17+
name = "cargo-miri"
18+
test = false
19+
path = "miri/bin/cargo-miri.rs"
20+
21+
[lib]
22+
test = false
23+
path = "miri/lib.rs"
24+
25+
[dependencies]
26+
byteorder = { version = "1.1", features = ["i128"]}
27+
env_logger = "0.4.3"
28+
log = "0.3.6"
29+
log_settings = "0.1.1"
30+
cargo_metadata = "0.2"
31+
rustc_miri = { path = "src/librustc_mir" }
32+
33+
[dev-dependencies]
34+
compiletest_rs = "0.2.6"
35+
36+
[workspace]
37+
exclude = ["xargo", "cargo-miri-test"]
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)