Do not build std lib by default

This commit is contained in:
Maximilian Ammann 2022-09-17 21:28:52 +02:00
parent 67763962fc
commit f675192442

View File

@ -146,7 +146,7 @@ const wasmPack = () => {
"--target", "wasm32-unknown-unknown",
"--profile", profile,
"--features", `${webgl ? "web-webgl," : ""}`,
"-Z", "build-std=std,panic_abort"
...(multithreaded ? ["-Z", "build-std=std,panic_abort"] : []),
], {
cwd: '.',
stdio: 'inherit',