Make it not depend on nightly conditionally

This commit is contained in:
Michael Goulet 2023-12-05 18:58:14 +00:00
parent 1f5895b3e3
commit 80f240a539

View File

@ -4,4 +4,10 @@ version = "0.0.0"
edition = "2021" edition = "2021"
[dependencies] [dependencies]
rustc_type_ir = { path = "../rustc_type_ir" } rustc_type_ir = { path = "../rustc_type_ir", default-features = false }
[features]
default = ["nightly"]
nightly = [
"rustc_type_ir/nightly",
]