Unnamed repository; edit this file 'description' to name the repository.
Merge pull request #20836 from Elliot-Roberts/cfg-require-tt
Fix compile error in `crates/cfg` tests due to `tt` feature
| -rw-r--r-- | Cargo.lock | 1 | ||||
| -rw-r--r-- | crates/cfg/Cargo.toml | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index 267b516210..55e5bdc138 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -235,6 +235,7 @@ name = "cfg" version = "0.0.0" dependencies = [ "arbitrary", + "cfg", "expect-test", "intern", "oorandom", diff --git a/crates/cfg/Cargo.toml b/crates/cfg/Cargo.toml index af95f86c83..e17969bd82 100644 --- a/crates/cfg/Cargo.toml +++ b/crates/cfg/Cargo.toml @@ -29,5 +29,8 @@ arbitrary = { version = "1.4.1", features = ["derive"] } syntax-bridge.workspace = true syntax.workspace = true +# tt is needed for testing +cfg = { path = ".", default-features = false, features = ["tt"] } + [lints] workspace = true |