From fd02d23a9d700a2a26e93e757e305ded75f55358 Mon Sep 17 00:00:00 2001 From: Tobias Naumann Date: Thu, 11 May 2023 17:15:21 +0200 Subject: [PATCH] Make mbedtls-platform-support no_std --- mbedtls-platform-support/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mbedtls-platform-support/src/lib.rs b/mbedtls-platform-support/src/lib.rs index 5ccbd2952..b95726360 100644 --- a/mbedtls-platform-support/src/lib.rs +++ b/mbedtls-platform-support/src/lib.rs @@ -6,6 +6,8 @@ * option. This file may not be copied, modified, or distributed except * according to those terms. */ +#![cfg_attr(not(feature = "std"), no_std)] + #[cfg(not(feature = "std"))] #[allow(unused)] #[macro_use]