Move proc-macro-test test path fetching from include to env var

This commit is contained in:
Lukas Wirth 2024-06-30 15:37:00 +02:00
parent 0b88dfc8b1
commit 678420e66a
3 changed files with 3 additions and 5 deletions

View file

@ -1,4 +1,3 @@
//! Exports a few trivial procedural macros for testing.
pub static PROC_MACRO_TEST_LOCATION: &str =
include_str!(concat!(env!("OUT_DIR"), "/proc_macro_test_location.txt"));
pub static PROC_MACRO_TEST_LOCATION: &str = env!("PROC_MACRO_TEST_LOCATION");