enable do_pass_bool_byte_closure_layout only in release mode

This commit is contained in:
Folkert 2022-04-23 21:58:36 +02:00
parent 397d1c1db3
commit 91e4a0636f
No known key found for this signature in database
GPG Key ID: 1F17F6FFD112B97C

View File

@ -2992,7 +2992,7 @@ fn mix_function_and_closure_level_of_indirection() {
}
#[test]
#[ignore]
#[cfg_if(not(debug_assertions), ignore)] // this test stack-overflows the compiler in debug mode
#[cfg(any(feature = "gen-llvm"))]
fn do_pass_bool_byte_closure_layout() {
// see https://github.com/rtfeldman/roc/pull/1706