mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
44d0fce150
Add extern declarations and optional dependencies to fix build done directly via `cargo build`.
22 lines
543 B
TOML
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",
|
|
]
|