Fix tests for CI environment

The `panic="unwind"` appears in the output for the CI tests, but not in
my local tests. I need to investigate the origin of this configuration
but it causes the CI builds to fail.
This commit is contained in:
Chris Field 2021-02-21 21:45:55 -05:00
parent 70a423ebf8
commit 9b02dd41e4

View File

@ -471,6 +471,7 @@ fn rustc_with_print_cfg_single_target() {
.with_stdout_contains(
"\
debug_assertions
panic=\"unwind\"
target_arch=\"x86_64\"
target_endian=\"little\"
target_env=\"msvc\"
@ -543,6 +544,7 @@ target_vendor=\"unknown\"
unix
debug_assertions
panic=\"unwind\"
target_arch=\"x86_64\"
target_endian=\"little\"
target_env=\"msvc\"
@ -587,6 +589,7 @@ fn rustc_with_print_cfg_rustflags_env_var() {
.with_stdout_contains(
"\
debug_assertions
panic=\"unwind\"
target_arch=\"x86_64\"
target_endian=\"little\"
target_env=\"msvc\"
@ -640,6 +643,7 @@ rustflags = ["-C", "target-feature=+crt-static"]
.with_stdout_contains(
"\
debug_assertions
panic=\"unwind\"
target_arch=\"x86_64\"
target_endian=\"little\"
target_env=\"msvc\"