Skip to content

Commit a540515

Browse files
authored
Merge pull request #1877 from kinnison/tracebacks
Turn on backtraces to improve CI usefulness
2 parents 5f7b375 + a12ece3 commit a540515

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

appveyor.yml

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
image: Visual Studio 2017
22
environment:
33
RUSTFLAGS: -Ctarget-feature=+crt-static
4+
RUST_BACKTRACE: 1
45
matrix:
56
- TARGET: x86_64-pc-windows-msvc
67
ALLOW_PR: 1

ci/run.sh

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
set -ex
44

5+
RUST_BACKTRACE=1
6+
export RUST_BACKTRACE
7+
58
rustc -vV
69
cargo -vV
710

tests/mock/clitools.rs

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ pub fn setup(s: Scenario, f: &dyn Fn(&mut Config)) {
6969
env::remove_var("RUSTUP_TOOLCHAIN");
7070
env::remove_var("SHELL");
7171
env::remove_var("ZDOTDIR");
72+
env::remove_var("RUST_BACKTRACE");
7273

7374
let current_exe_path = env::current_exe().map(PathBuf::from).unwrap();
7475
let mut exe_dir = current_exe_path.parent().unwrap();

0 commit comments

Comments
 (0)