Skip to content

Commit

Permalink
move profile options to Cargo.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
rauljordan committed Feb 1, 2024
1 parent 35ab1b0 commit a798bea
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
9 changes: 1 addition & 8 deletions .cargo/config
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,4 @@ rustflags = [
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
]

[profile.release]
codegen-units = 1
strip = true
lto = true
panic = "abort"
opt-level = "s"
]
7 changes: 7 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,11 @@ debug = ["stylus-sdk/debug"]
[lib]
crate-type = ["lib", "cdylib"]

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

[workspace]

0 comments on commit a798bea

Please sign in to comment.