From 2816ccb02c4d70c8fd7c908d07ab802d1ae390cc Mon Sep 17 00:00:00 2001 From: chrysn Date: Sun, 20 Sep 2020 16:05:34 +0200 Subject: [PATCH] asm-casts: Run on no_std --- c2rust-asm-casts/src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/c2rust-asm-casts/src/lib.rs b/c2rust-asm-casts/src/lib.rs index b13bf34bc3..745367a383 100644 --- a/c2rust-asm-casts/src/lib.rs +++ b/c2rust-asm-casts/src/lib.rs @@ -1,4 +1,5 @@ -use std::marker::PhantomData; +#![no_std] +use core::marker::PhantomData; /// Pseudo-structure that provides the inner type definition /// and cast functions for every pair of types used