From 3730c0e8e9f6e03c10cbc8d7347255629c105ca6 Mon Sep 17 00:00:00 2001 From: chrysn Date: Fri, 12 Apr 2024 11:14:44 +0200 Subject: [PATCH] fixup! Add riot-rs-random crate and corresponding initialization --- src/riot-rs-random/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/riot-rs-random/src/lib.rs b/src/riot-rs-random/src/lib.rs index db581cd81..565d4dc68 100644 --- a/src/riot-rs-random/src/lib.rs +++ b/src/riot-rs-random/src/lib.rs @@ -110,6 +110,7 @@ pub fn construct_rng(hwrng: impl RngCore) { /// This may be used by threads or tasks. To avoid synchronizion overhead, in the future, /// dependency injection for task and thread generation might be provided through the riot-rs /// macros. +#[inline] pub fn get_rng() -> Rng { Rng }