2 authors = ["Miri Team"]
3 description = "An experimental interpreter for Rust MIR (core driver)."
4 license = "MIT OR 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
21 getrandom = { version = "0.2", features = ["std"] }
27 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
28 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
29 # for more information.
30 rustc-workspace-hack = "1.0.0"
33 [target.'cfg(unix)'.dependencies]
36 [target.'cfg(target_os = "linux")'.dependencies]
44 # Features chosen to match those required by env_logger, to avoid rebuilds
45 regex = { version = "1.5.5", default-features = false, features = ["perf", "std"] }
48 [package.metadata.rust-analyzer]
49 # This crate uses #[feature(rustc_private)].
50 # See https://github.com/rust-analyzer/rust-analyzer/pull/7891
58 default = ["stack-cache"]
61 # Be aware that this file is inside a workspace when used via the
62 # submodule in the rustc repo. That means there are many cargo features
63 # we cannot use, such as profiles.