Skip to content

Commit

Permalink
Rollup merge of rust-lang#90234 - rusticstuff:rustc-rayon-core-no-ove…
Browse files Browse the repository at this point in the history
…rflow-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 rust-lang#90227). So, as a workaround, we unconditionally turn overflow checks off for this crate only.

This workaround should be removed once rust-lang#90227 is fixed.

r? `@Mark-Simulacrum`

cc `@matthiaskrgr`
  • Loading branch information
matthiaskrgr committed Oct 24, 2021
2 parents d576393 + aacb497 commit eee29fd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eee29fd

Please sign in to comment.