Skip to content

Commit

Permalink
ignore tail calls tests on s390x, since it didn't implement them in t…
Browse files Browse the repository at this point in the history
…his release
  • Loading branch information
fitzgen authored and alexcrichton committed Oct 9, 2024
1 parent 9c87232 commit 9a7bf6e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/all/traps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1681,6 +1681,7 @@ fn async_stack_size_ignored_if_disabled() -> Result<()> {
}

#[test]
#[cfg(not(target_arch = "s390x"))]
fn tail_call_to_imported_function() -> Result<()> {
let mut config = Config::new();
config.wasm_tail_call(true);
Expand Down Expand Up @@ -1711,6 +1712,7 @@ fn tail_call_to_imported_function() -> Result<()> {
}

#[test]
#[cfg(not(target_arch = "s390x"))]
fn tail_call_to_imported_function_in_start_function() -> Result<()> {
let mut config = Config::new();
config.wasm_tail_call(true);
Expand Down Expand Up @@ -1740,6 +1742,7 @@ fn tail_call_to_imported_function_in_start_function() -> Result<()> {
}

#[test]
#[cfg(not(target_arch = "s390x"))]
fn return_call_ref_to_imported_function() -> Result<()> {
let mut config = Config::new();
config.wasm_tail_call(true);
Expand Down Expand Up @@ -1770,6 +1773,7 @@ fn return_call_ref_to_imported_function() -> Result<()> {
}

#[test]
#[cfg(not(target_arch = "s390x"))]
fn return_call_indirect_to_imported_function() -> Result<()> {
let mut config = Config::new();
config.wasm_tail_call(true);
Expand Down

0 comments on commit 9a7bf6e

Please sign in to comment.