diff options
author | Alon Zakai <azakai@google.com> | 2022-11-01 13:07:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-01 20:07:36 +0000 |
commit | 0db7b571b23a09f96810c9d65d5f88d8eae4ba52 (patch) | |
tree | b4bc44983623a09a0cca93b1d3b8ec9fc3d4a4ae /test/lit/validation/shared-memory.wast | |
parent | 5892f493706558a95d57b3731014b400fd832d70 (diff) | |
download | binaryen-0db7b571b23a09f96810c9d65d5f88d8eae4ba52.tar.gz binaryen-0db7b571b23a09f96810c9d65d5f88d8eae4ba52.tar.bz2 binaryen-0db7b571b23a09f96810c9d65d5f88d8eae4ba52.zip |
[NFC] Mention relevant flags in validator errors (#5203)
E.g.
Atomic operation (atomics are disabled)
=>
Atomic operations require threads [--enable-threads]
Diffstat (limited to 'test/lit/validation/shared-memory.wast')
-rw-r--r-- | test/lit/validation/shared-memory.wast | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lit/validation/shared-memory.wast b/test/lit/validation/shared-memory.wast index 259e89b81..03128756c 100644 --- a/test/lit/validation/shared-memory.wast +++ b/test/lit/validation/shared-memory.wast @@ -3,7 +3,7 @@ ;; RUN: not wasm-opt %s 2>&1 | filecheck %s --check-prefix NO-ATOMICS ;; RUN: wasm-opt %s --enable-threads -o - -S | filecheck %s --check-prefix ATOMICS -;; NO-ATOMICS: memory is shared, but atomics are disabled +;; NO-ATOMICS: shared memory requires threads [--enable-threads] ;; ATOMICS: (memory $0 (shared 10 20)) (module |