mirror of
https://github.com/sgmarz/osblog.git
synced 2024-11-23 18:06:20 +04:00
Add options in Cargo.toml for lto and optimizer
This commit is contained in:
parent
1ae7b115f7
commit
f9572be05a
@ -6,5 +6,12 @@ edition = "2018"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 0
|
||||
lto = false
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
lto = true
|
||||
|
||||
[dependencies]
|
||||
|
@ -201,7 +201,6 @@ SECTIONS
|
||||
*/
|
||||
*(.sdata .sdata.*) *(.data .data.*)
|
||||
PROVIDE(_data_end = .);
|
||||
*(.eh_frame)
|
||||
} >ram AT>ram :data
|
||||
|
||||
.bss : {
|
||||
|
Loading…
Reference in New Issue
Block a user