Skip to content

Commit

Permalink
Only use -Z external-macro-backtrace on nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
SOF3 committed Sep 3, 2019
1 parent 761dfdc commit 39021ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ env:

install:
- "export FEATURE_STABLE=$(cargo --version | grep nightly >/dev/null || echo \"--features stable\")"
- "export RUSTFLAGS=$(cargo --version | grep nightly >/dev/null && echo \"-Z external-macro-backtrace\")"
- "rustup component add rustfmt --toolchain $(rustup show active-toolchain | cut -d ' ' -f 1)"

script:
Expand Down

0 comments on commit 39021ed

Please sign in to comment.