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"] }
23 #FIXME(miri#2526): libffi = "3.0.0"
26 shell-escape = "0.1.4"
30 # A noop dependency that changes in the Rust repository, it's a bit of a hack.
31 # See the `src/tools/rustc-workspace-hack/README.md` file in `rust-lang/rust`
32 # for more information.
33 rustc-workspace-hack = "1.0.0"
36 # Enable some feature flags that dev-dependencies need but dependencies
37 # do not. This makes `./miri install` after `./miri build` faster.
38 [target."cfg(unix)".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.