Disable RUST_BACKTRACE in unit tests on macOS.

This commit is contained in:
Josh Matthews 2020-04-17 18:20:35 -04:00 committed by GitHub
parent c9480c8e07
commit b54b3aca64
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -278,7 +278,9 @@ class MachCommands(CommandBase):
packages.discard('stylo')
env = self.build_env(test_unit=True)
env["RUST_BACKTRACE"] = "1"
# FIXME: https://github.com/servo/servo/issues/26192
if "apple-darwin" not in host_triple():
env["RUST_BACKTRACE"] = "1"
if "msvc" in host_triple():
# on MSVC, we need some DLLs in the path. They were copied