diff options
| author | Marat Safin <jeizsm@gmail.com> | 2018-09-13 21:15:10 +0300 |
|---|---|---|
| committer | Jakub Jirutka <jakub@jirutka.cz> | 2018-09-15 23:40:18 +0200 |
| commit | 15cd8b16fa30646b46783003e8b9553f35a04e69 (patch) | |
| tree | edbeb337df12f856fb18996b17bdff649d677485 /community/rust/minimize-rpath.patch | |
| parent | 7a1d3e7a08bbefa85bf2c72bd9dede90f5c5d7bc (diff) | |
| download | aports-15cd8b16fa30646b46783003e8b9553f35a04e69.tar.bz2 aports-15cd8b16fa30646b46783003e8b9553f35a04e69.tar.xz | |
community/rust: upgrade to 1.29.0
Diffstat (limited to 'community/rust/minimize-rpath.patch')
| -rw-r--r-- | community/rust/minimize-rpath.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/community/rust/minimize-rpath.patch b/community/rust/minimize-rpath.patch index 32c5c1b52b..3ae6a7efe1 100644 --- a/community/rust/minimize-rpath.patch +++ b/community/rust/minimize-rpath.patch @@ -50,8 +50,8 @@ and skip it there. let mut output = cwd.join(&config.out_filename); output.pop(); let output = fs::canonicalize(&output).unwrap_or(output); -- let relative = path_relative_from(&lib, &output) -- .expect(&format!("couldn't create relative path from {:?} to {:?}", output, lib)); +- let relative = path_relative_from(&lib, &output).unwrap_or_else(|| +- panic!("couldn't create relative path from {:?} to {:?}", output, lib)); + // FIXME (#9639): This needs to handle non-utf8 paths - format!("{}/{}", prefix, |
