diff --git a/.cargo/config b/.cargo/config index 6671bd7..8c46df4 100644 --- a/.cargo/config +++ b/.cargo/config @@ -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" diff --git a/Cargo.toml b/Cargo.toml index 4217508..1842187 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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]