mirror of
https://github.com/microsoft/edit.git
synced 2025-07-03 14:33:22 +00:00
Optimize std for size (#241)
This commit is contained in:
parent
bf5178b44c
commit
b6b0a827bb
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ rustflags = [
|
|||
# = Huge reduction in binary size by removing all that.
|
||||
[unstable]
|
||||
build-std = ["std", "panic_abort"]
|
||||
build-std-features = ["panic_immediate_abort"]
|
||||
build-std-features = ["panic_immediate_abort", "optimize_for_size"]
|
||||
|
||||
# vvv The following parts are specific to official Windows builds. vvv
|
||||
# (The use of internal registries, security features, etc., are mandatory.)
|
||||
|
|
|
@ -20,4 +20,4 @@ rustflags = [
|
|||
# = Huge reduction in binary size by removing all that.
|
||||
[unstable]
|
||||
build-std = ["std", "panic_abort"]
|
||||
build-std-features = ["panic_immediate_abort"]
|
||||
build-std-features = ["panic_immediate_abort", "optimize_for_size"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue