mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-06 01:15:42 -06:00
ci: add wasm32 cargo flags
This commit is contained in:
28
.cargo/config.toml
Normal file
28
.cargo/config.toml
Normal file
@@ -0,0 +1,28 @@
|
||||
[target.wasm32-unknown-emscripten]
|
||||
rustflags = [
|
||||
"-C",
|
||||
"link-arg=-s",
|
||||
"-C",
|
||||
"link-arg=FULL_ES2",
|
||||
"-C",
|
||||
"link-arg=-s",
|
||||
"-C",
|
||||
"link-arg=FULL_ES3",
|
||||
"-C",
|
||||
"link-arg=-s",
|
||||
"-C",
|
||||
"link-arg=USE_SDL=2",
|
||||
"-C",
|
||||
"link-arg=-s",
|
||||
"-C",
|
||||
"link-arg=MAX_WEBGL_VERSION=2 ",
|
||||
"-C",
|
||||
"link-arg=-s",
|
||||
"-C",
|
||||
"link-arg=MIN_WEBGL_VERSION=2",
|
||||
"-C",
|
||||
"link-arg=-s",
|
||||
"-C",
|
||||
"link-arg=ERROR_ON_UNDEFINED_SYMBOLS=0", # for ignoring some egl symbols. needed for wgpu
|
||||
|
||||
]
|
||||
Reference in New Issue
Block a user