diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-07-25 09:36:19 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-07-25 09:36:19 +0100 |
commit | 48f9a05692e509c3bfd7df5b1088fe2863617714 (patch) | |
tree | 80f2d6a55aca6d66ff5b36c9166fd49fb76ef97b /xtask/src/not_bash.rs | |
parent | 0a4e90c0f855df29eb60445bf68ab959c59914ed (diff) | |
parent | 451edcc09866d43def7db88d5d9c139a96ead58e (diff) |
Merge #5531
5531: Add rustc-perf to metrics r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'xtask/src/not_bash.rs')
-rw-r--r-- | xtask/src/not_bash.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xtask/src/not_bash.rs b/xtask/src/not_bash.rs index 0f3a56b25..ef811e5bf 100644 --- a/xtask/src/not_bash.rs +++ b/xtask/src/not_bash.rs | |||
@@ -186,7 +186,8 @@ impl Env { | |||
186 | fn pushd(&mut self, dir: PathBuf) { | 186 | fn pushd(&mut self, dir: PathBuf) { |
187 | let dir = self.cwd().join(dir); | 187 | let dir = self.cwd().join(dir); |
188 | self.pushd_stack.push(dir); | 188 | self.pushd_stack.push(dir); |
189 | env::set_current_dir(self.cwd()).unwrap(); | 189 | env::set_current_dir(self.cwd()) |
190 | .unwrap_or_else(|err| panic!("Failed to set cwd to {}: {}", self.cwd().display(), err)); | ||
190 | } | 191 | } |
191 | fn popd(&mut self) { | 192 | fn popd(&mut self) { |
192 | self.pushd_stack.pop().unwrap(); | 193 | self.pushd_stack.pop().unwrap(); |