mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-15 17:02:53 +08:00
reduce pre-compiler size
This commit is contained in:
parent
9eb469e521
commit
3743fe3f88
@ -11,4 +11,8 @@ path = "src/lib.rs"
|
||||
[dependencies]
|
||||
libc = "0.2"
|
||||
|
||||
[profile.release]
|
||||
opt-level = 'z'
|
||||
lto = true
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
@ -18,4 +18,6 @@ sh cross-win.sh
|
||||
|
||||
cp build-win/pikaByteCodeGen.exe $ROOT/rust-msc-latest-win10.exe
|
||||
cd $ROOT
|
||||
strip -s rust-msc-latest-win10.exe
|
||||
upx -9 rust-msc-latest-win10.exe
|
||||
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user