Macro build_const::build_const
[−]
[src]
macro_rules! build_const { ( $mod_name:expr ) => { ... }; }
Shortcut macro which expands to the same module path used in
ConstWriter::for_build(mod_name)
.
If you don't want to include macros, this is simply a one liner:
include!(concat!(env!("OUT_DIR"), concat!("/", $mod_name))