From 62a7c099d3a8d5316b9426538c4f4ed4659e50d2 Mon Sep 17 00:00:00 2001 From: AkiyukiOkayasu Date: Fri, 9 Aug 2024 13:09:55 +0900 Subject: [PATCH] Add no_std attribute to the crate --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 0f98bcd..cd6b395 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -24,6 +24,7 @@ //! } //! } //! ``` +#![cfg_attr(not(test), no_std)] use anyhow::{bail, ensure}; use core::f32;