Skip to content

Commit eee29fd

Browse files
authored
Rollup merge of #90234 - rusticstuff:rustc-rayon-core-no-overflow-checks, r=Mark-Simulacrum
Temporarily turn overflow checks off for rustc-rayon-core The rustc fork of Rayon has deadlock detection code which intermittently causes overflows in the CI (see #90227). So, as a workaround, we unconditionally turn overflow checks off for this crate only. This workaround should be removed once #90227 is fixed. r? `@Mark-Simulacrum` cc `@matthiaskrgr`
2 parents d576393 + aacb497 commit eee29fd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Cargo.toml

+7
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@ overflow-checks = false
7777
# per-crate configuration isn't specifiable in the environment.
7878
codegen-units = 10000
7979

80+
[profile.release.package.rustc-rayon-core]
81+
# The rustc fork of Rayon has deadlock detection code which intermittently
82+
# causes overflows in the CI (see https://github.com/rust-lang/rust/issues/90227)
83+
# so we turn overflow checks off for now.
84+
# FIXME: This workaround should be removed once #90227 is fixed.
85+
overflow-checks = false
86+
8087
# These dependencies of the standard library implement symbolication for
8188
# backtraces on most platforms. Their debuginfo causes both linking to be slower
8289
# (more data to chew through) and binaries to be larger without really all that

0 commit comments

Comments
 (0)