Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/proc-macro-srv/build.rs')
-rw-r--r--crates/proc-macro-srv/build.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/proc-macro-srv/build.rs b/crates/proc-macro-srv/build.rs
index e3e4b9d87b..a8c732f315 100644
--- a/crates/proc-macro-srv/build.rs
+++ b/crates/proc-macro-srv/build.rs
@@ -1,9 +1,9 @@
+//! Determine rustc version `proc-macro-srv` (and thus the sysroot ABI) is
+//! build with and make it accessible at runtime for ABI selection.
+
use std::{env, fs::File, io::Write, path::PathBuf, process::Command};
fn main() {
- // Determine rustc version `proc-macro-srv` (and thus the sysroot ABI) is
- // build with and make it accessible at runtime for ABI selection.
-
let mut path = PathBuf::from(env::var_os("OUT_DIR").unwrap());
path.push("rustc_version.rs");
let mut f = File::create(&path).unwrap();