diff options
| author | henil <dedaniahenil@gmail.com> | 2021-02-10 15:49:41 +0530 |
|---|---|---|
| committer | henil <dedaniahenil@gmail.com> | 2021-02-10 15:49:41 +0530 |
| commit | 436b4ee19ea7c044ec9af4c24a05f4d3fb8a3e8a (patch) | |
| tree | ee87ed2c634001b9567da3a371b871cf71a14cdb /build.rs | |
| parent | And from Goodbye message (diff) | |
| download | sl0ppij-436b4ee19ea7c044ec9af4c24a05f4d3fb8a3e8a.tar.gz sl0ppij-436b4ee19ea7c044ec9af4c24a05f4d3fb8a3e8a.tar.xz sl0ppij-436b4ee19ea7c044ec9af4c24a05f4d3fb8a3e8a.zip | |
fix: Some warnings
Diffstat (limited to 'build.rs')
| -rw-r--r-- | build.rs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -38,7 +38,8 @@ fn main() { let alt_target = manifest_dir.join("target/tiles"); for project in members { let path = manifest_dir.join(project.as_str().unwrap()); - set_current_dir(&path); + // Should be able to change directory to continue build process + set_current_dir(&path).unwrap(); // FIXME: This is soul-crushingly terrible, but I can't keep the values alive long enough if var("PROFILE").unwrap() == "release" { @@ -58,7 +59,8 @@ fn main() { .unwrap(); } } - set_current_dir(&starting_dir); + // Should be able to change directory to continue build process + set_current_dir(&starting_dir).unwrap(); if var("PROFILE").unwrap() == "release" { // FIXME: Deduplicate this with the initial walk all .rs pattern |
