Skip to main content

ab_riscv_macros/
lib.rs

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