mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
wip: add build script for rust module
This commit is contained in:
3
frontend/render_v2/rs/build
Executable file
3
frontend/render_v2/rs/build
Executable file
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user