annotation fixes - no_std in libboard_artiq

This commit is contained in:
mwojcik 2021-07-27 11:00:53 +02:00
parent 630a934df0
commit 76b085333f
2 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#![no_std]
// has csr; taken from runtime main
#[path = "../../../build/pl.rs"]
pub mod pl;

View File

@ -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<T> {
UnexpectedEnd,
Other(T)