Build using relative path in repo if Windows lost symlink

This commit is contained in:
David Tolnay
2021-04-09 14:15:58 -07:00
parent b53ebef438
commit dc4c31eb50
2 changed files with 14 additions and 1 deletions
+2 -1
View File
@@ -40,7 +40,8 @@ extern crate syn;
extern crate proc_macro2;
extern crate quote;
#[path = "src/mod.rs"]
#[cfg_attr(serde_build_from_git, path = "../serde_derive/src/internals/mod.rs")]
#[cfg_attr(not(serde_build_from_git), path = "src/mod.rs")]
mod internals;
pub use internals::*;