mirror of
https://github.com/m-labs/artiq.git
synced 2025-02-03 14:20:19 +08:00
pca006132
4132c450a5
Ported from: M-Labs/artiq-zynq#162 This includes new API for exception handling, some refactoring to avoid code duplication for exception structures, and modified protocols to send nested exceptions and avoid string allocation.
32 lines
582 B
Rust
32 lines
582 B
Rust
#![no_std]
|
|
|
|
extern crate failure;
|
|
#[macro_use]
|
|
extern crate failure_derive;
|
|
#[cfg(feature = "alloc")]
|
|
extern crate alloc;
|
|
extern crate cslice;
|
|
#[cfg(feature = "log")]
|
|
#[macro_use]
|
|
extern crate log;
|
|
|
|
extern crate byteorder;
|
|
extern crate io;
|
|
extern crate dyld;
|
|
extern crate eh;
|
|
|
|
// Internal protocols.
|
|
pub mod kernel_proto;
|
|
pub mod drtioaux_proto;
|
|
|
|
// External protocols.
|
|
#[cfg(feature = "alloc")]
|
|
pub mod mgmt_proto;
|
|
#[cfg(feature = "alloc")]
|
|
pub mod analyzer_proto;
|
|
#[cfg(feature = "alloc")]
|
|
pub mod moninj_proto;
|
|
#[cfg(feature = "alloc")]
|
|
pub mod session_proto;
|
|
pub mod rpc_proto;
|