Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/proc-macro-srv-cli/src/lib.rs')
| -rw-r--r-- | crates/proc-macro-srv-cli/src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/proc-macro-srv-cli/src/lib.rs b/crates/proc-macro-srv-cli/src/lib.rs index 9e6f03bf46..8475c05ae8 100644 --- a/crates/proc-macro-srv-cli/src/lib.rs +++ b/crates/proc-macro-srv-cli/src/lib.rs @@ -2,5 +2,10 @@ //!
//! This module exposes the server main loop and protocol format for integration testing.
+#![cfg_attr(feature = "in-rust-tree", feature(rustc_private))]
+
+#[cfg(feature = "in-rust-tree")]
+extern crate rustc_driver as _;
+
#[cfg(feature = "sysroot-abi")]
pub mod main_loop;
|