Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/proc-macro-srv/src/lib.rs')
| -rw-r--r-- | crates/proc-macro-srv/src/lib.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/crates/proc-macro-srv/src/lib.rs b/crates/proc-macro-srv/src/lib.rs index 3679bfc43c..72a2dfe72d 100644 --- a/crates/proc-macro-srv/src/lib.rs +++ b/crates/proc-macro-srv/src/lib.rs @@ -20,6 +20,8 @@ mod dylib; mod abis; +pub mod cli; + use std::{ collections::{hash_map::Entry, HashMap}, env, @@ -149,7 +151,10 @@ impl EnvSnapshot { } } -pub mod cli; +#[cfg(all(feature = "sysroot-abi", test))] +mod tests; #[cfg(test)] -mod tests; +pub fn proc_macro_test_dylib_path() -> std::path::PathBuf { + proc_macro_test::PROC_MACRO_TEST_LOCATION.into() +} |