2 authors = ["Scott Olson <scott@solson.me>"]
3 description = "An experimental interpreter for Rust MIR."
4 license = "MIT/Apache-2.0"
6 repository = "https://github.com/rust-lang/miri"
12 test = true # we have unit tests
13 doctest = false # but no doc tests
17 test = false # we have no unit tests
18 doctest = false # and no doc tests
22 test = false # we have no unit tests
23 doctest = false # and no doc tests
24 required-features = ["cargo_miri"]
27 name = "miri-rustc-tests"
28 test = false # we have no unit tests
29 doctest = false # and no doc tests
30 required-features = ["rustc_tests"]
33 cargo_metadata = { version = "0.8", optional = true }
34 directories = { version = "2.0", optional = true }
35 rustc_version = { version = "0.2.3", optional = true }
36 getrandom = { version = "0.1.8", features = ["std"] }
40 shell-escape = "0.1.4"
45 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
46 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
47 # for more information.
48 rustc-workspace-hack = "1.0.0"
50 # Depend on num-traits with default features to avoid having to rebuild
51 # between "cargo build" and "cargo intall".
58 default = ["cargo_miri"]
59 cargo_miri = ["cargo_metadata", "directories", "rustc_version"]
63 compiletest_rs = { version = "0.3.24", features = ["tmp", "stable"] }