Merge pull request #1887 from fitzgen/todo-issue-for-aarch64-reference-types

Add `TODO` comments with link to issue for aarch64 reference types
This commit is contained in:
Nick Fitzgerald
2020-06-16 11:00:42 -07:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -211,8 +211,8 @@ fn ignore(testsuite: &str, testname: &str, strategy: &str) -> bool {
("reference_types", "table_copy_on_imported_tables") ("reference_types", "table_copy_on_imported_tables")
| ("reference_types", "externref_id_function") => { | ("reference_types", "externref_id_function") => {
// Ignore if this isn't x64, because Cranelift only supports // TODO(#1886): Ignore if this isn't x64, because Cranelift only
// reference types on x64. // supports reference types on x64.
return env::var("CARGO_CFG_TARGET_ARCH").unwrap() != "x86_64"; return env::var("CARGO_CFG_TARGET_ARCH").unwrap() != "x86_64";
} }

View File

@@ -19,6 +19,6 @@ mod traps;
mod use_after_drop; mod use_after_drop;
mod wast; mod wast;
// Cranelift only supports reference types on x64. // TODO(#1886): Cranelift only supports reference types on x64.
#[cfg(target_arch = "x86_64")] #[cfg(target_arch = "x86_64")]
mod gc; mod gc;