From 76b085333f829994e07cf64736348ff4a40e250e Mon Sep 17 00:00:00 2001 From: mwojcik Date: Tue, 27 Jul 2021 11:00:53 +0200 Subject: [PATCH] annotation fixes - no_std in libboard_artiq --- src/libboard_artiq/src/lib.rs | 2 ++ src/libio/lib.rs | 1 + 2 files changed, 3 insertions(+) diff --git a/src/libboard_artiq/src/lib.rs b/src/libboard_artiq/src/lib.rs index 79d02436..aa09aa39 100644 --- a/src/libboard_artiq/src/lib.rs +++ b/src/libboard_artiq/src/lib.rs @@ -1,3 +1,5 @@ +#![no_std] + // has csr; taken from runtime main #[path = "../../../build/pl.rs"] pub mod pl; diff --git a/src/libio/lib.rs b/src/libio/lib.rs index b3e8e6b9..0e4f145d 100644 --- a/src/libio/lib.rs +++ b/src/libio/lib.rs @@ -21,6 +21,7 @@ pub use proto::{ProtoRead, ProtoWrite}; #[cfg(all(feature = "byteorder", feature = "alloc"))] pub use proto::ReadStringError; +#[derive(Debug, Clone, PartialEq)] pub enum Error { UnexpectedEnd, Other(T)