mirror of https://github.com/tracel-ai/burn.git
remove lto linker option to make build successful (#2123)
This commit is contained in:
parent
dad85e0709
commit
af8c3150c9
|
@ -10,7 +10,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set optimization flags
|
# 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.
|
# Run wasm pack tool to build JS wrapper files and copy wasm to pkg directory.
|
||||||
mkdir -p pkg
|
mkdir -p pkg
|
||||||
|
|
Loading…
Reference in New Issue