fix: review cargo config
* move package settings into correct table * move .cargo into wasm dir * set "std" for burn
This commit is contained in:
parent
b84eaaac82
commit
4152af652b
1 changed files with 17 additions and 9 deletions
8
wasm/.cargo/config.toml
Normal file
8
wasm/.cargo/config.toml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[target.wasm32-unknown-unknown]
|
||||
rustflags = [
|
||||
"-Ctarget-feature=+simd128,+bulk-memory,+reference-types",
|
||||
'--cfg', 'getrandom_backend="wasm_js"',
|
||||
"--cfg=has_std",
|
||||
"-Zlocation-detail=none",
|
||||
"-Zthreads=6",
|
||||
]
|
||||
Loading…
Reference in a new issue