diff options
Diffstat (limited to 'build.rs')
| -rw-r--r-- | build.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build.rs b/build.rs new file mode 100644 index 0000000..79a1fad --- /dev/null +++ b/build.rs @@ -0,0 +1,6 @@ +fn main() { + // Fix building from source on Windows because it can't handle file links. + #[cfg(windows)] + std::fs::copy("dev/Cargo.toml", "dev-Cargo.toml") + .expect("Failed to copy the file `dev/Cargo.toml` to `dev-Cargo.toml`"); +} |
