Do not optimise ecc test (#2366)

This commit is contained in:
Dániel Buga 2024-10-18 16:05:02 +02:00 committed by GitHub
parent 358d884643
commit f0d0dd92c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -320,7 +320,9 @@ pub fn execute_app(
.features(&features)
.arg(bin);
if !debug {
if !debug && app.name() != "ecc" {
// FIXME, HACK: The `ecc` tests are currently miscompiled with `lto="thin"` or
// stronger. This is a temporary workaround until the issue is resolved.
builder.add_arg("--release");
}