From 9385d25e2592038eb21c2c58a6f4162c5daa5968 Mon Sep 17 00:00:00 2001 From: ROMemories <152802150+ROMemories@users.noreply.github.com> Date: Fri, 10 Jan 2025 12:32:32 +0100 Subject: [PATCH] docs(thread): enable the rendering of the `core-affinity` feature --- .github/workflows/build-deploy-docs.yml | 1 + .github/workflows/main.yml | 1 + src/ariel-os-threads/src/smp/mod.rs | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-deploy-docs.yml b/.github/workflows/build-deploy-docs.yml index 112fe3814..c8f16ef13 100644 --- a/.github/workflows/build-deploy-docs.yml +++ b/.github/workflows/build-deploy-docs.yml @@ -56,6 +56,7 @@ jobs: --features " bench, coap, + core-affinity, csprng, defmt, executor-thread, diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5e3d72818..79e1c5d77 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -206,6 +206,7 @@ jobs: --features " bench, coap, + core-affinity, csprng, defmt, executor-thread, diff --git a/src/ariel-os-threads/src/smp/mod.rs b/src/ariel-os-threads/src/smp/mod.rs index eb7dded90..8eb358249 100644 --- a/src/ariel-os-threads/src/smp/mod.rs +++ b/src/ariel-os-threads/src/smp/mod.rs @@ -6,7 +6,7 @@ impl CoreId { /// /// # Panics /// - /// Panics if `value` >= [`Chip::CORES`]. + /// Panics if `value` >= [`CORE_COUNT`](crate::CORE_COUNT). pub fn new(value: u8) -> Self { if value >= Chip::CORES as u8 { panic!(