We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cd6521e + e277d5d commit 4aadabcCopy full SHA for 4aadabc
crates/proc_macro_srv/src/dylib.rs
@@ -168,6 +168,10 @@ fn ensure_file_with_lock_free_access(path: &Path) -> io::Result<PathBuf> {
168
use std::ffi::OsString;
169
use std::hash::{BuildHasher, Hasher};
170
171
+ if std::env::var("RA_DONT_COPY_PROC_MACRO_DLL").is_ok() {
172
+ return Ok(path.to_path_buf());
173
+ }
174
+
175
let mut to = std::env::temp_dir();
176
177
let file_name = path.file_name().ok_or_else(|| {
0 commit comments