Skip to content

Commit

Permalink
Only run reference types tests on x86_64
Browse files Browse the repository at this point in the history
Cranelift does not support reference types on other targets.
  • Loading branch information
fitzgen committed Jun 15, 2020
1 parent 7e167ca commit 5934185
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,12 @@ fn ignore(testsuite: &str, testname: &str, strategy: &str) -> bool {
// testsuite repo.
("simd", "simd_const") => return true,

// Cranelift only supports reference types on x64.
#[cfg(target_arch = "x86_64")]
("reference_types", "table_copy_on_imported_tables")
| ("reference_types", "externref_id_function") => return false,

// Still working on implementing these. See #929.
("reference_types", "table_copy_on_imported_tables") => return false,
("reference_types", "externref_id_function") => return false,
("reference_types", _) => return true,

_ => {}
Expand Down

0 comments on commit 5934185

Please sign in to comment.