Skip to content

Commit

Permalink
Upgrade WASM Makefile to c++17. No change in .wasm files. (envoyproxy#41
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jplevyak authored Mar 12, 2019
1 parent 7acc5d9 commit 1600c11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/wasm/cpp/Makefile.base
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ else
endif

%.wasm %.wat: %.cc ${API}/proxy_wasm_intrinsics.h ${API}/proxy_wasm_intrinsics.js
em++ -s WASM=1 -s LEGALIZE_JS_FFI=0 -s EMIT_EMSCRIPTEN_METADATA=1 --std=c++14 -O3 -g3 -I${API} --js-library ${API}/proxy_wasm_intrinsics.js $*.cc ${CONTEXT_LIB} -o $*.js
em++ -s WASM=1 -s LEGALIZE_JS_FFI=0 -s EMIT_EMSCRIPTEN_METADATA=1 --std=c++17 -O3 -g3 -I${API} --js-library ${API}/proxy_wasm_intrinsics.js $*.cc ${CONTEXT_LIB} -o $*.js
wavm-disas $*.wasm $*.wat
wavm-compile $*.wasm $*.wasm
rm -f $*.js $*.wast
Expand Down

0 comments on commit 1600c11

Please sign in to comment.