diff --git a/src/libboard_artiq/src/lib.rs b/src/libboard_artiq/src/lib.rs index 79d0243..aa09aa3 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 b3e8e6b..0e4f145 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)