binaryen-sys 0.13.0

Bindings to the binaryen library
Documentation
1
2
3
4
5
6
7
8
;; RUN: not wasm-opt %s --multi-memory-lowering -all 2>&1 | filecheck %s

(module
  (memory $memory1 1)
  (import "env" "mem" (memory $memory2 1 1))
)

;; CHECK: MultiMemoryLowering: only the first memory can be imported