Skip to content

Commit

Permalink
Changed: fat LTO and restored rlib temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
Sewer56 committed Nov 26, 2023
1 parent 0441edf commit dfd66bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license = "GPL-3.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib", "staticlib"]
crate-type = ["cdylib", "staticlib", "rlib"]

[dependencies]
memoffset = "0.9.0"
Expand Down Expand Up @@ -63,6 +63,6 @@ strip = false # No stripping!!
# Optimized Release Build
[profile.release]
codegen-units = 1
lto = true
lto = "fat"
strip = true # Automatically strip symbols from the binary.
panic = "abort"

0 comments on commit dfd66bf

Please sign in to comment.