Crate out [−] [src]
A macro that makes it more convenient to use OUT_DIR.
Instead of using:
const PATH: &str = concat!(env!("OUT_DIR"), "/file.txt");
You can do:
const PATH: &str = out!("file.txt");
Note that out!
is only valid when OUT_DIR
is defined.
Macros
out |