From f0d0dd92c4aa690167b6dd255ab2ad4ddd4538ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Fri, 18 Oct 2024 16:05:02 +0200 Subject: [PATCH] Do not optimise ecc test (#2366) --- xtask/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xtask/src/lib.rs b/xtask/src/lib.rs index 043cdda2e..8afc57eb5 100644 --- a/xtask/src/lib.rs +++ b/xtask/src/lib.rs @@ -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"); }