summaryrefslogtreecommitdiff
path: root/test/spec/bulk-memory-operations
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2021-10-13 09:52:25 -0700
committerGitHub <noreply@github.com>2021-10-13 16:52:25 +0000
commit30c1e983d30b33a8004b39fd60cbd64477a7956c (patch)
treecb17fc468d4fab92f961d49c54798051eea8c617 /test/spec/bulk-memory-operations
parent081f6c21ef0998c21f7b33bc82cfa50d5a4ddfd2 (diff)
downloadwabt-30c1e983d30b33a8004b39fd60cbd64477a7956c.tar.gz
wabt-30c1e983d30b33a8004b39fd60cbd64477a7956c.tar.bz2
wabt-30c1e983d30b33a8004b39fd60cbd64477a7956c.zip
Enable reference types by default (#1729)
This features was finished earlier this year: https://github.com/WebAssembly/proposals/blob/master/finished-proposals.md One thing to note is that the version of the spec tests we currently have in third_party/testsuite doesn't have ref types merged yet so this change disables ref types when running some of those tests. This can be removed in a followup when we update the testsuite.
Diffstat (limited to 'test/spec/bulk-memory-operations')
-rw-r--r--test/spec/bulk-memory-operations/binary.txt1
-rw-r--r--test/spec/bulk-memory-operations/imports.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/test/spec/bulk-memory-operations/binary.txt b/test/spec/bulk-memory-operations/binary.txt
index 3b56c28a..a497f773 100644
--- a/test/spec/bulk-memory-operations/binary.txt
+++ b/test/spec/bulk-memory-operations/binary.txt
@@ -1,4 +1,5 @@
;;; TOOL: run-interp-spec
+;;; ARGS*: --disable-reference-types
;;; STDIN_FILE: third_party/testsuite/proposals/bulk-memory-operations/binary.wast
(;; STDOUT ;;;
out/test/spec/bulk-memory-operations/binary.wast:6: assert_malformed passed:
diff --git a/test/spec/bulk-memory-operations/imports.txt b/test/spec/bulk-memory-operations/imports.txt
index 51df9e35..ce8a1108 100644
--- a/test/spec/bulk-memory-operations/imports.txt
+++ b/test/spec/bulk-memory-operations/imports.txt
@@ -1,4 +1,5 @@
;;; TOOL: run-interp-spec
+;;; ARGS*: --disable-reference-types
;;; STDIN_FILE: third_party/testsuite/proposals/bulk-memory-operations/imports.wast
(;; STDOUT ;;;
called host spectest.print_i32(i32:13) =>