diff --git a/Cargo.toml b/Cargo.toml index 7aca827..4f140cc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,12 @@ cortex-m-semihosting = "0.2.0" features = ["abort-on-panic"] version = "0.3.12" +# disable both incremental compilation and parallel codegen to reduce the chances of running into +# rust-lang/rust#47074 +[profile.dev] +codegen-units = 1 +incremental = false + [profile.release] debug = true lto = true