mirror of
https://github.com/penpot/penpot.git
synced 2025-03-13 16:21:57 -05:00
wip: add build script for rust module
This commit is contained in:
parent
0f0b23e38b
commit
c7f801dd44
1 changed files with 3 additions and 0 deletions
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
|
||||
|
Loading…
Add table
Reference in a new issue