remove lto linker option to make build successful (#2123)

This commit is contained in:
tiruka 2024-08-08 02:59:53 +09:00 committed by GitHub
parent dad85e0709
commit af8c3150c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ then
fi
# Set optimization flags
export RUSTFLAGS="-C lto=fat -C embed-bitcode=yes -C codegen-units=1 -C opt-level=3 --cfg web_sys_unstable_apis"
export RUSTFLAGS="-C embed-bitcode=yes -C codegen-units=1 -C opt-level=3 --cfg web_sys_unstable_apis"
# Run wasm pack tool to build JS wrapper files and copy wasm to pkg directory.
mkdir -p pkg