Skip to content

Commit

Permalink
Check-in memory.wat to document how memory.wasm was made (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
anuraaga authored Mar 18, 2024
1 parent 05b10c2 commit f5c9039
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/re2_wazero.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ var (
//go:embed wasm/libcre2.so
var libre2 []byte

// memoryWasm created by `wat2wasm --enable-threads internal/wasm/memory.wat`
//
//go:embed wasm/memory.wasm
var memoryWasm []byte

Expand Down
1 change: 1 addition & 0 deletions internal/wasm/memory.wat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(module (memory (export "memory") 3 65536 shared))

0 comments on commit f5c9039

Please sign in to comment.