Skip to content

Commit

Permalink
configure no_std for guts, but not for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
oconnor663 committed Jan 22, 2024
1 parent fc75227 commit 6e519ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rust/guts/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Tests always require libstd.
#![cfg_attr(all(not(feature = "std"), not(test)), no_std)]

use core::cmp;
use core::marker::PhantomData;
use core::mem;
Expand Down

0 comments on commit 6e519ea

Please sign in to comment.