Skip to content

Commit

Permalink
Enable LTO, remove stale rustfmt ignores.
Browse files Browse the repository at this point in the history
  • Loading branch information
James Cape committed Aug 13, 2021
1 parent c3a4fab commit 40838d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ members = [
[profile.dev]
opt-level = 0
rpath = true
lto = true

[profile.release]
opt-level = 3
rpath = false
lto = false
lto = true
debug-assertions = false
overflow-checks = false

Expand Down
5 changes: 0 additions & 5 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
edition = "2018"
wrap_comments = true
imports_granularity = "Crate"

ignore = [
"sgx/types", # copy-pasta from rust-sgx-sdk
"sgx/urts", # came from Baidu
]

0 comments on commit 40838d7

Please sign in to comment.