Compile to Emscripten HTML file
This commit is contained in:
parent
1688c098ee
commit
496cad8aec
2 changed files with 7 additions and 0 deletions
6
.cargo/config
Normal file
6
.cargo/config
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[target.wasm32-unknown-emscripten]
|
||||||
|
rustflags = [
|
||||||
|
"-C", "link-arg=-s",
|
||||||
|
"-C", "link-arg=USE_SDL=2",
|
||||||
|
"-C", "link-arg=-olvgl_example.html",
|
||||||
|
]
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
/target
|
/target
|
||||||
|
lvgl_example.*
|
||||||
|
|
Loading…
Reference in a new issue