disable a segfaulting test on windows

This commit is contained in:
Folkert 2022-09-09 22:28:25 +02:00
parent 57201db2f6
commit 5d60ffeebf
No known key found for this signature in database
GPG Key ID: 1F17F6FFD112B97C

View File

@ -946,7 +946,13 @@ fn when_peano() {
} }
#[test] #[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))] // This doesn't work on Windows. If you make it return a Result.withDefault 0 (so it's returning
// an integer instead of a Result), then it works on Windows, suggesting this is a C ABI issue.
// We should try this out on Windows again after making adjustments to the Result C ABI!
#[cfg(all(
not(target_family = "windows"),
any(feature = "gen-llvm", feature = "gen-wasm")
))]
#[should_panic(expected = "Roc failed with message: ")] #[should_panic(expected = "Roc failed with message: ")]
fn overflow_frees_list() { fn overflow_frees_list() {
assert_evals_to!( assert_evals_to!(