Created
January 11, 2018 18:01
-
-
Save pftbest/ce0fa145b0ec24bfd68842204e964aec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/sysroot.rs b/src/sysroot.rs | |
| index 6fba61e..b684154 100644 | |
| --- a/src/sysroot.rs | |
| +++ b/src/sysroot.rs | |
| @@ -70,8 +70,9 @@ version = "0.0.0" | |
| } | |
| for (_, stage) in blueprint.stages { | |
| - let td = TempDir::new("xargo").chain_err(|| "couldn't create a temporary directory")?; | |
| - let td = td.path(); | |
| + let td = TempDir::new("xargo") | |
| + .chain_err(|| "couldn't create a temporary directory")? | |
| + .into_path(); | |
| let mut stoml = TOML.to_owned(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment