about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@dend.ro>2023-06-05 13:05:30 +0300
committerLaurențiu Nicola <lnicola@dend.ro>2023-06-05 14:43:31 +0300
commit768a6c5931e4674a5a80185c130199dc86fa2970 (patch)
treea6c28c8e54082313681fdae39fb80124501e2c29
parentaa9bc8612514d216f84eec218dfd19ab83f3598a (diff)
downloadrust-768a6c5931e4674a5a80185c130199dc86fa2970.tar.gz
rust-768a6c5931e4674a5a80185c130199dc86fa2970.zip
Add back sysroot-abi feature gate to rust-analyzer
-rw-r--r--Cargo.lock1
-rw-r--r--crates/rust-analyzer/Cargo.toml4
2 files changed, 4 insertions, 1 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 322a67383b0..e36aef6a6aa 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1505,6 +1505,7 @@ dependencies = [
  "parking_lot 0.12.1",
  "parking_lot_core 0.9.6",
  "proc-macro-api",
+ "proc-macro-srv-cli",
  "profile",
  "project-model",
  "rayon",
diff --git a/crates/rust-analyzer/Cargo.toml b/crates/rust-analyzer/Cargo.toml
index 97bd9209206..77f02a83101 100644
--- a/crates/rust-analyzer/Cargo.toml
+++ b/crates/rust-analyzer/Cargo.toml
@@ -68,6 +68,7 @@ ide-db.workspace = true
 ide-ssr.workspace = true
 ide.workspace = true
 proc-macro-api.workspace = true
+proc-macro-srv-cli.workspace = true
 profile.workspace = true
 project-model.workspace = true
 stdx.workspace = true
@@ -94,4 +95,5 @@ mbe.workspace = true
 [features]
 jemalloc = ["jemallocator", "profile/jemalloc"]
 force-always-assert = ["always-assert/force"]
-in-rust-tree = ["ide/in-rust-tree", "syntax/in-rust-tree"]
+sysroot-abi = ["proc-macro-srv-cli/sysroot-abi"]
+in-rust-tree = ["sysroot-abi", "ide/in-rust-tree", "syntax/in-rust-tree"]