diff --git a/frontend/render_v2/rs/build b/frontend/render_v2/rs/build new file mode 100755 index 0000000000..e5636ac087 --- /dev/null +++ b/frontend/render_v2/rs/build @@ -0,0 +1,3 @@ +#!/bin/bash +EMCC_CFLAGS="--no-entry -s ERROR_ON_UNDEFINED_SYMBOLS=0 -s MAX_WEBGL_VERSION=2 -s MODULARIZE=1 -s EXPORT_NAME=createRustSkiaModule -s EXPORTED_RUNTIME_METHODS=GL -s ENVIRONMENT=webgl" cargo build --target=wasm32-unknown-emscripten +