Skip to content

Commit 831a34c

Browse files
committed
use a single codegen-unit with the dev profile
rust-lang/rust#44853 changed the default number of codegen units from 1 to 32 for the dev profile. Unfortunately this broke our dev builds so we are reverting the change in the Cargo.toml.
1 parent a8a02d9 commit 831a34c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Cargo.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ keywords = ["arm", "cortex-m", "template"]
66
license = "MIT OR Apache-2.0"
77
name = "cortex-m-quickstart"
88
repository = "https://github.com/japaric/cortex-m-quickstart"
9-
version = "0.2.1"
9+
version = "0.2.2"
1010

1111
[dependencies]
1212
cortex-m = "0.3.0"
@@ -16,6 +16,9 @@ cortex-m-semihosting = "0.2.0"
1616
features = ["abort-on-panic"]
1717
version = "0.3.3"
1818

19+
[profile.dev]
20+
codegen-units = 1
21+
1922
[profile.release]
2023
debug = true
2124
lto = true

0 commit comments

Comments
 (0)