binaryen-sys 0.13.0

Bindings to the binaryen library
Documentation
;; NOTE: Assertions have been generated by update_lit_checks.py --all-items and should not be edited.
;; RUN: wasm-opt %s -all --roundtrip -S -o - | filecheck %s


(module
 ;; CHECK:      (type $0 (func (result i64)))

 ;; CHECK:      (type $1 (func))

 ;; CHECK:      (memory $0 i64 1 4294967296)
 (memory $0 i64 1 4294967296)

  ;; CHECK:      (func $load_i64 (type $0) (result i64)
  ;; CHECK-NEXT:  (i64.load offset=8589934592
  ;; CHECK-NEXT:   (i64.const 4294967296)
  ;; CHECK-NEXT:  )
  ;; CHECK-NEXT: )
  (func $load_i64 (result i64)
    (i64.load offset=8589934592
      (i64.const 0x100000000)
    )
  )

  ;; CHECK:      (func $store (type $1)
  ;; CHECK-NEXT:  (i64.store offset=8589934592
  ;; CHECK-NEXT:   (i64.const 4294967296)
  ;; CHECK-NEXT:   (i64.const 123)
  ;; CHECK-NEXT:  )
  ;; CHECK-NEXT: )
  (func $store (result)
    (i64.store offset=8589934592
      (i64.const 0x100000000)
      (i64.const 123)
    )
  )
)