Skip to content

Commit 9de2418

Browse files
committed
do not pub .map in wheels
1 parent 044c7cf commit 9de2418

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/emsdk-fetch.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ then
146146
SOTMP=\$(mktemp).so
147147
mv \$SHARED_TARGET \$SOTMP
148148
$SDKROOT/emsdk/upstream/bin/wasm-emscripten-finalize -mvp \$SOTMP -o \$SHARED_TARGET
149+
[ -f \$SHARED_TARGET.map ] && rm \$SHARED_TARGET.map
149150
rm \$SOTMP
150151
else
151152
$EMSDK_PYTHON -E \$0.py \$COPTS \$CPPFLAGS -DBUILD_STATIC "\$@" \$COMMON

0 commit comments

Comments
 (0)