Skip to main content

ab_riscv_macros/
lib.rs

1//! Macros for RISC-V primitives
2
3#![feature(
4    bool_to_result,
5    map_try_insert,
6    result_option_map_or_default,
7    try_blocks
8)]
9
10#[cfg(feature = "build")]
11mod build;
12
13#[cfg(feature = "proc-macro")]
14pub use ab_riscv_macros_impl::{instruction, instruction_execution};
15#[cfg(feature = "build")]
16pub use build::process_instruction_macros;