diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1debd542..c70dcd07 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 c521d164..5c87bfdf 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` and `riscv32imc` targets unconditionally (e.g. `build --no-default-features`) depends on `atomic-polyfill` ### Fixed diff --git a/Cargo.toml b/Cargo.toml index eb0b339a..bce23200 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -31,10 +31,10 @@ 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 } +atomic-polyfill = { version = "0.1.4" } [dependencies] hash32 = "0.2.1"