Skip to content

Commit 231401e

Browse files
authored
Merge pull request coconut-svsm#821 from nicstange/enable-opt-for-dev-profile
Increase opt-level to 1 for profile.dev
2 parents 710ace6 + 7cfd5d2 commit 231401e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ panic = 'abort'
9898

9999
[profile.dev]
100100
panic = 'abort'
101+
# Without any optimization whatsoever, stackframes can easily get too
102+
# large and result in unusable builds.
103+
opt-level = 1
101104

102105
[workspace.lints.rust]
103106
future_incompatible = { level = "deny", priority = 127 }

0 commit comments

Comments
 (0)