mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
![]() Use a full prefixed name (sixtyfps_rendering_backend_gl) to ensure that the created static lib can be installed without file conflicts (libgl is not a unique name). |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
Cargo.toml | ||
index.html | ||
logo.png | ||
README |
To try the WASM build, use these steps: cargo build --target wasm32-unknown-unknown --bin graphicstest cd examples/graphicstest mkdir -p generated wasm-bindgen ../../target/wasm32-unknown-unknown/debug/graphicstest.wasm --out-dir generated --no-modules cp index.html generated/ Then serve for example with cd generated/ python -m SimpleHTTPServer and go to http://localhost:8000/index.html