Skip to content

Commit 744d0d6

Browse files
committed
add codegen-units=1 to release profile
This fixes some stack overflow issues when running tests with portable-dispatch disabled. Ideally, we were able to fix those instances without requiring codegen-units=1.
1 parent c4cf712 commit 744d0d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,6 @@ codegen-units = 1
6161
[profile.miri]
6262
inherits = "dev"
6363
debug-assertions = false
64+
65+
[profile.release]
66+
codegen-units = 1

0 commit comments

Comments
 (0)