File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -69,12 +69,13 @@ if [ -z "$TARGET" ] && [ "$BUILD_WASM" = false ]; then
6969 exit 1
7070fi
7171
72- BASE_RUSTFLAGS=" -Csymbol-mangling-version=v0 -Zlocation-detail=none -Zfmt-debug=none "
72+ BASE_RUSTFLAGS=" -Csymbol-mangling-version=v0 -Zlocation-detail=none"
7373
7474mv .cargo/.config.toml .cargo/config.toml
7575
7676if [ " $BUILD_WASM " = true ]; then
7777 echo " Building particle-simulation for web..."
78+ # TODO: See if I can enable this feature
7879 WASM_RUSTFLAGS=" $BASE_RUSTFLAGS -C target-feature=-nontrapping-fptoint"
7980 if [ -n " $PUBLIC_URL " ]; then
8081 echo " Using public URL: $PUBLIC_URL "
@@ -90,7 +91,7 @@ if [ "$BUILD_WASM" = true ]; then
9091fi
9192
9293if [ -n " $TARGET " ]; then
93- NATIVE_RUSTFLAGS=" $BASE_RUSTFLAGS "
94+ NATIVE_RUSTFLAGS=" $BASE_RUSTFLAGS -Zfmt-debug=none "
9495 if [ " $NATIVE_OPT " = true ]; then
9596 echo " Building particle-simulation for $TARGET with native CPU optimizations..."
9697 NATIVE_RUSTFLAGS=" $NATIVE_RUSTFLAGS -C target-cpu=native"
You can’t perform that action at this time.
0 commit comments