BLD Clean up unused Makefile sed (#4785)

This stuff is no longer needed since the update to Emscripten 3.1.58.
This commit is contained in:
Hood Chatham 2024-05-23 17:42:31 -04:00 committed by GitHub
parent c7a411137a
commit c53ff47046
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 6 deletions

View File

@ -134,12 +134,6 @@ dist/pyodide.asm.js: \
cd dist && npx prettier -w pyodide.asm.js ; \
fi
# Strip out C++ symbols which all start __Z.
# There are 4821 of these and they have VERY VERY long names.
# To show some stats on the symbols you can use the following:
# cat dist/pyodide.asm.js | grep -ohE 'var _{0,5}.' | sort | uniq -c | sort -nr | head -n 20
sed -i -E 's/var __Z[^;]*;//g' dist/pyodide.asm.js
sed -i '1i "use strict";' dist/pyodide.asm.js
# Remove last 4 lines of pyodide.asm.js, see issue #2282
# Hopefully we will remove this after emscripten fixes it, upstream issue
# emscripten-core/emscripten#16518