mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[fontations] Shrink the library more
This commit is contained in:
parent
493bf07596
commit
ecb9e393f2
2 changed files with 4 additions and 0 deletions
|
@ -12,6 +12,7 @@ path = "lib.rs"
|
|||
crate-type = ["staticlib"]
|
||||
|
||||
[profile.release]
|
||||
strip = true
|
||||
lto = true
|
||||
panic = "abort"
|
||||
codegen-units = 1
|
||||
|
@ -20,3 +21,4 @@ codegen-units = 1
|
|||
inherits = "release"
|
||||
debug = true
|
||||
codegen-units = 16
|
||||
strip = false
|
||||
|
|
|
@ -20,6 +20,8 @@ if buildtype == 'release' or buildtype == 'debugoptimized'
|
|||
else
|
||||
cargo_args = []
|
||||
endif
|
||||
cargo_args += ['-Z', 'build-std=std,panic_abort',
|
||||
'-Z', 'build-std-features=panic_immediate_abort']
|
||||
|
||||
harfbuzz_fontations = custom_target(
|
||||
'harfbuzz_fontations',
|
||||
|
|
Loading…
Add table
Reference in a new issue