diff --git a/CHANGELOG.md b/CHANGELOG.md index 3d08adafee7..4f6dc2c8156 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fix embassy-time tick rate not set when using systick as the embassy timebase (#1124) - Fix `get_raw_core` on Xtensa (#1126) +- Fix docs.rs documentation builds (#1129) ### Changed diff --git a/esp32c2-hal/Cargo.toml b/esp32c2-hal/Cargo.toml index 845a401734e..7aef501e143 100644 --- a/esp32c2-hal/Cargo.toml +++ b/esp32c2-hal/Cargo.toml @@ -20,6 +20,9 @@ categories = [ "no-std", ] +[package.metadata.docs.rs] +targets = ["riscv32imc-unknown-none-elf"] + [dependencies] document-features = "0.2.7" esp-hal-common = { version = "0.15.0", features = ["esp32c2"], path = "../esp-hal-common" } diff --git a/esp32c3-hal/Cargo.toml b/esp32c3-hal/Cargo.toml index d9a7287951b..983c7f6077d 100644 --- a/esp32c3-hal/Cargo.toml +++ b/esp32c3-hal/Cargo.toml @@ -20,6 +20,9 @@ categories = [ "no-std", ] +[package.metadata.docs.rs] +targets = ["riscv32imc-unknown-none-elf"] + [dependencies] document-features = "0.2.7" esp-hal-common = { version = "0.15.0", features = ["esp32c3"], path = "../esp-hal-common" } diff --git a/esp32c6-hal/Cargo.toml b/esp32c6-hal/Cargo.toml index e7d5b9c298d..4d9cce89958 100644 --- a/esp32c6-hal/Cargo.toml +++ b/esp32c6-hal/Cargo.toml @@ -20,6 +20,9 @@ categories = [ "no-std", ] +[package.metadata.docs.rs] +targets = ["riscv32imac-unknown-none-elf"] + [dependencies] document-features = "0.2.7" esp-hal-common = { version = "0.15.0", features = ["esp32c6"], path = "../esp-hal-common" } diff --git a/esp32h2-hal/Cargo.toml b/esp32h2-hal/Cargo.toml index 75dde4a0999..46b0efa2f03 100644 --- a/esp32h2-hal/Cargo.toml +++ b/esp32h2-hal/Cargo.toml @@ -20,6 +20,9 @@ categories = [ "no-std", ] +[package.metadata.docs.rs] +targets = ["riscv32imac-unknown-none-elf"] + [dependencies] document-features = "0.2.7" esp-hal-common = { version = "0.15.0", features = ["esp32h2"], path = "../esp-hal-common" } diff --git a/esp32p4-hal/Cargo.toml b/esp32p4-hal/Cargo.toml index 39c4fedca69..99f7515a001 100644 --- a/esp32p4-hal/Cargo.toml +++ b/esp32p4-hal/Cargo.toml @@ -20,6 +20,9 @@ categories = [ "no-std", ] +[package.metadata.docs.rs] +targets = ["riscv32imafc-unknown-none-elf"] + [dependencies] document-features = "0.2.7" esp-hal-common = { version = "0.15.0", features = ["esp32p4"], path = "../esp-hal-common" }