Skip to content

Commit

Permalink
acond: Modify cargo configuration
Browse files Browse the repository at this point in the history
Changes included in this commit:

- Remove acond/.cargo/config.toml so that the default rust target will be used.
- Add more optimization options to the 'release' profile.

Signed-off-by: Cedric Xing <[email protected]>
  • Loading branch information
binxing committed Aug 29, 2023
1 parent cf9f963 commit e93bc52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 0 additions & 4 deletions acond/.cargo/config.toml

This file was deleted.

5 changes: 4 additions & 1 deletion acond/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@ full = ["interactive"]
interactive = []

[profile.release]
opt-level = "s"
strip = true
lto = true
panic = 'abort'
panic = "abort"
codegen-units = 1

0 comments on commit e93bc52

Please sign in to comment.