X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=Cargo.toml;h=cae48d795178388cbb4ee8487207a4d096fb7d55;hb=7379d24ebc1ed0bbd8f33b9767b1390ea1a7177d;hp=8d6afd2b4483773173d0f0c142af563225b09edb;hpb=6f0acbcbd064d924afb0f3a04480fd0d69c5bc51;p=rust.git diff --git a/Cargo.toml b/Cargo.toml index 8d6afd2b448..cae48d79517 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -77,6 +77,13 @@ overflow-checks = false # per-crate configuration isn't specifiable in the environment. codegen-units = 10000 +[profile.release.package.rustc-rayon-core] +# The rustc fork of Rayon has deadlock detection code which intermittently +# causes overflows in the CI (see https://github.com/rust-lang/rust/issues/90227) +# so we turn overflow checks off for now. +# FIXME: This workaround should be removed once #90227 is fixed. +overflow-checks = false + # These dependencies of the standard library implement symbolication for # backtraces on most platforms. Their debuginfo causes both linking to be slower # (more data to chew through) and binaries to be larger without really all that