Skip to content

Commit 123a203

Browse files
committed
Split up miri into the librustc_mir and bin parts
1 parent 6143ef0 commit 123a203

File tree

232 files changed

+437
-121
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

232 files changed

+437
-121
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ script:
1515
xargo/build.sh
1616
- |
1717
# Test plain miri
18-
cd src/librustc_mir/ && cargo build &&
18+
cd miri/ && cargo build &&
1919
cargo test &&
2020
cargo install &&
21-
cd ../..
21+
cd ..
2222
- |
2323
# Test cargo miri
2424
cd cargo-miri-test &&
@@ -27,7 +27,7 @@ script:
2727
cd ..
2828
- |
2929
# and run all tests with full mir
30-
cd src/librustc_mir/ && MIRI_SYSROOT=~/.xargo/HOST cargo test && cd ../..
30+
cd miri/ && MIRI_SYSROOT=~/.xargo/HOST cargo test && cd ..
3131
notifications:
3232
email:
3333
on_success: never

miri/Cargo.lock

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

miri/Cargo.toml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
14+
[[bin]]
15+
doc = false
16+
name = "cargo-miri"
17+
test = false
18+
19+
[lib]
20+
test = false
21+
22+
[dependencies]
23+
byteorder = { version = "1.1", features = ["i128"]}
24+
env_logger = "0.3.3"
25+
log = "0.3.6"
26+
log_settings = "0.1.1"
27+
cargo_metadata = "0.2"
28+
rustc_miri = { path = "../src/librustc_mir" }
29+
30+
[dev-dependencies]
31+
compiletest_rs = "0.2.6"
File renamed without changes.

miri/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
extern crate rustc_miri;
2+
3+
pub use rustc_miri::interpret::*;
File renamed without changes.

0 commit comments

Comments
 (0)