From 3112a7e8e5dec4bdff781d6d19a9ce3fcf2a3c1d Mon Sep 17 00:00:00 2001 From: chrysn Date: Fri, 8 Mar 2024 15:15:33 +0100 Subject: [PATCH 1/2] CI: Don't use nightly for fmt or readme --- .github/workflows/formal.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/formal.yml b/.github/workflows/formal.yml index 0cfaa45..97c1fde 100644 --- a/.github/workflows/formal.yml +++ b/.github/workflows/formal.yml @@ -8,17 +8,19 @@ on: jobs: rustfmt: runs-on: ubuntu-latest - container: rustlang/rust:nightly + container: docker.io/rust steps: - uses: actions/checkout@v3 with: fetch-depth: 0 + - name: Add rustfmt component + run: rustup component add rustfmt - name: Run cargo-fmt run: cargo fmt --check cargo-readme: runs-on: ubuntu-latest - container: rustlang/rust:nightly + container: docker.io/rust steps: - uses: actions/checkout@v3 with: @@ -28,4 +30,4 @@ jobs: crate: cargo-readme version: latest - name: Verify that README.rst is up to date - run: cargo +nightly readme | diff /dev/stdin README.md + run: cargo readme | diff /dev/stdin README.md From 6aeb18e413d88bde275ce768b7d5422b3337e89f Mon Sep 17 00:00:00 2001 From: chrysn Date: Mon, 11 Mar 2024 17:16:51 +0100 Subject: [PATCH 2/2] headers: Add hashes These were already conditionally included, but it is unclear which transitive dependency triggered that. --- riot-headers.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/riot-headers.h b/riot-headers.h index e1b70e0..f8be590 100644 --- a/riot-headers.h +++ b/riot-headers.h @@ -112,6 +112,17 @@ #ifdef MODULE_GNRC_ICMPV6 #include "net/gnrc/icmpv6.h" #endif +#ifdef MODULE_HASHES +#include +#include +#include +#include +#include +#include +#include +#include +#include +#endif #ifdef MODULE_NANOCOAP #include #endif