rust/compiler/rustc_smir/Cargo.toml
Celina G. Val 44d0fce150 Fix standalone build
Add extern declarations and optional dependencies to fix build done
directly via `cargo build`.
2023-07-10 10:06:18 -07:00

22 lines
543 B
TOML

[package]
name = "rustc_smir"
version = "0.0.0"
edition = "2021"
[dependencies]
# Use optional dependencies for rustc_* in order to support building this crate separately.
rustc_hir = { path = "../rustc_hir", optional = true }
rustc_middle = { path = "../rustc_middle", optional = true }
rustc_span = { path = "../rustc_span", optional = true }
rustc_target = { path = "../rustc_target", optional = true }
tracing = "0.1"
scoped-tls = "1.0"
[features]
default = [
"rustc_hir",
"rustc_middle",
"rustc_span",
"rustc_target",
]