Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/proc-macro-srv-cli/build.rs')
-rw-r--r--crates/proc-macro-srv-cli/build.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/proc-macro-srv-cli/build.rs b/crates/proc-macro-srv-cli/build.rs
new file mode 100644
index 0000000000..07f914fece
--- /dev/null
+++ b/crates/proc-macro-srv-cli/build.rs
@@ -0,0 +1,5 @@
+//! This teaches cargo about our cfg(rust_analyzer)
+
+fn main() {
+ println!("cargo:rustc-check-cfg=cfg(rust_analyzer)");
+}