Signed by hannaSSH key fingerprint: SHA256:4g9cWhkAAw8gwqhJUcVbSnGEvdGwklW+1Aa/fMUu59k
Cargo.toml +8 −3
| @@ -170,7 +170,12 @@ todo = "deny" | |||
| 170 | 170 | ||
| 171 | [profile.release] | 171 | [profile.release] |
| 172 | strip = true | 172 | strip = true |
| 173 | # LTO is disabled: with aws-lc-sys (C) in the tree the Nix release build enables | ||
| 174 | # cross-language LTO, which triggers a rustc ICE compiling tokio under the pinned | ||
| 175 | # nightly. Re-enable once the toolchain is bumped past the bug. | ||
| 176 | lto = false | 173 | lto = false |
| 174 | |||
| 175 | # The pinned nightly ICEs in LLVM codegen compiling tokio's runtime at any | ||
| 176 | # optimization level (a known codegen bug, unrelated to our code, in the type | ||
| 177 | # `Notified<Arc<multi_thread::Handle>>`). That type is compiled inside tokio's own | ||
| 178 | # crate, so building just tokio unoptimized dodges the ICE while every other crate | ||
| 179 | # stays optimized. Revisit when the fenix toolchain is bumped past the bug. | ||
| 180 | [profile.release.package.tokio] | ||
| 181 | opt-level = 0 | ||