Module rune_modules::macros [−][src]
Expand description
std::macros
module for the Rune Language.
Usage
Add the following to your Cargo.toml
:
rune-modules = {version = "0.9.1", features = ["macros"]}
Install it into your context:
let mut context = runestick::Context::with_default_modules()?; context.install(&rune_modules::macros::module(true)?)?;
Use it in Rune:
ⓘ
fn main() { println(`Hello from ${file!()}:${line!()}); }
Functions
Construct the supplemental std::macros
module.