internal: improve compilation critical path a bit

This commit is contained in:
Aleksey Kladov 2021-08-28 22:03:06 +03:00
parent 0dabcf0044
commit c639fe333f
7 changed files with 12 additions and 34 deletions

View file

@ -63,7 +63,7 @@ impl ProcMacroProcessExpander {
macro_body: FlatTree::new(subtree),
macro_name: self.name.to_string(),
attributes: attr.map(FlatTree::new),
lib: self.dylib_path.to_path_buf(),
lib: self.dylib_path.to_path_buf().into(),
env,
};