diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1debd54217..c70dcd0773 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,6 +53,7 @@ jobs: - nightly features: - "" + - "cas" - "serde" steps: - name: Checkout @@ -92,7 +93,7 @@ jobs: with: use-cross: false command: check - args: --target=${{ matrix.target }} --features=${{ matrix.features }} + args: --target=${{ matrix.target }} --no-default-features --features=${{ matrix.features }} # Run cpass tests testcpass: diff --git a/CHANGELOG.md b/CHANGELOG.md index c521d164be..2b8986fa4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ### Changed * Optimize the codegen of `Vec::clone` +* `riscv32i` targets unconditionally (`no-default-features`) depends on `atomic-polyfill` ### Fixed diff --git a/Cargo.toml b/Cargo.toml index eb0b339a03..b7246011ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,7 +31,7 @@ defmt-impl = ["defmt"] atomic-polyfill = { version = "0.1.2", optional = true } [target.riscv32i-unknown-none-elf.dependencies] -atomic-polyfill = { version = "0.1.4", optional = true } +atomic-polyfill = { version = "0.1.4" } [target.riscv32imc-unknown-none-elf.dependencies] atomic-polyfill = { version = "0.1.4", optional = true }