rune/modules/
macros.rs

1
2
3
4
5
6
7
8
9
10
11
12
//! Macro support.

pub mod builtin;

use crate as rune;
use crate::{ContextError, Module};

/// Macro support.
#[rune::module(::std::macros)]
pub fn module() -> Result<Module, ContextError> {
    Module::from_meta(self::module_meta)
}