Skip to content

Commit

Permalink
Merge branch 'WebAssembly:main' into uvwasi_support
Browse files Browse the repository at this point in the history
  • Loading branch information
talg authored Sep 21, 2022
2 parents 186d787 + 694274b commit b3e7b63
Show file tree
Hide file tree
Showing 21 changed files with 4,886 additions and 569 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Wabt has been compiled to JavaScript via emscripten. Some of the functionality i
| [threads][] | `--enable-threads` | ||||| |
| [multi-value][] | `--disable-multi-value` |||||||
| [tail-call][] | `--enable-tail-call` | ||||| |
| [bulk memory][] | `--disable-bulk-memory` |||||| |
| [bulk memory][] | `--disable-bulk-memory` |||||| |
| [reference types][] | `--disable-reference-types` |||||| |
| [annotations][] | `--enable-annotations` | | || | | |
| [memory64][] | `--enable-memory64` | ||||| |
Expand Down
3 changes: 2 additions & 1 deletion scripts/gen-wasm2c-templates.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# https://stackoverflow.com/a/47801116
file(READ ${in} content)
set(content "const char* ${symbol} = R\"w2c_template(${content})w2c_template\";")
string(REGEX REPLACE "(.[^\n]*\n)" "R\"w2c_template(\\1)w2c_template\"\n" content "${content}")
set(content "const char* ${symbol} = ${content};")
file(WRITE ${out} "${content}")
Loading

0 comments on commit b3e7b63

Please sign in to comment.