diff options
| author | Michael Goulet <michael@errs.io> | 2023-12-05 18:58:14 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-12-08 17:44:01 +0000 |
| commit | 80f240a539f3fa8c2892fccb0a0a54ca96589fc7 (patch) | |
| tree | 789e971c3ce0c81cc0e2b29f8a41cf348f956769 | |
| parent | 1f5895b3e31e10fb9121c751b5aedc31dfe3d92f (diff) | |
| download | rust-80f240a539f3fa8c2892fccb0a0a54ca96589fc7.tar.gz rust-80f240a539f3fa8c2892fccb0a0a54ca96589fc7.zip | |
Make it not depend on nightly conditionally
| -rw-r--r-- | compiler/rustc_next_trait_solver/Cargo.toml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/compiler/rustc_next_trait_solver/Cargo.toml b/compiler/rustc_next_trait_solver/Cargo.toml index 88c4b62c54c..9d496fd8e81 100644 --- a/compiler/rustc_next_trait_solver/Cargo.toml +++ b/compiler/rustc_next_trait_solver/Cargo.toml @@ -4,4 +4,10 @@ version = "0.0.0" edition = "2021" [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", +] \ No newline at end of file |
