From bc20b21f65abe82ef1fe0417619f511e7d05a3fd Mon Sep 17 00:00:00 2001 From: Philipp Schuster Date: Wed, 8 Apr 2026 09:20:44 +0200 Subject: [PATCH 1/2] misc: fix cargo.lock of test --- test/Cargo.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Cargo.lock b/test/Cargo.lock index 0c82e29..d1a4e36 100644 --- a/test/Cargo.lock +++ b/test/Cargo.lock @@ -38,7 +38,7 @@ checksum = "8bb0fd6580eeed0103c054e3fba2c2618ff476943762f28a645b63b8692b21c9" [[package]] name = "uart_16550" -version = "0.5.0" +version = "0.6.0" dependencies = [ "bitflags", ] From 909dc89ca6f72ec7d9fe33f849e4d763217dedd5 Mon Sep 17 00:00:00 2001 From: Philipp Schuster Date: Wed, 8 Apr 2026 09:42:23 +0200 Subject: [PATCH 2/2] doc: specify docs.rs targets Make sure we build the docs for a variety of targets. Technically, the doc is the same for every target; this way - however - we can better indicate that this crate is indeed compatible with every platform. https://blog.rust-lang.org/2026/04/04/docsrs-only-default-targets/ --- Cargo.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index ef642bf..0e809a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,3 +35,12 @@ embedded-io = ["dep:embedded-io"] [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] +default-garget = [ "x86_64-unknown-none" ] +# Builds on any no_std target. This selection shows that the crate works on x86, +# ARM, and RISC-V as example (most popular platforms). +targets = [ + "aarch64-unknown-none", + "i686-unknown-uefi", + "riscv64im-unknown-none-elf", + "x86_64-unknown-none", +]