Skip to content

Commit

Permalink
Merge pull request #3 from OffchainLabs/profile-back-to-toml
Browse files Browse the repository at this point in the history
Move Stylus Minimal Profile Options to Cargo.toml
  • Loading branch information
rachel-bousfield authored Feb 1, 2024
2 parents 35ab1b0 + 4a0aebf commit 637ff4d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .cargo/config
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,3 @@ 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 637ff4d

Please sign in to comment.