[−][src]Macro compile_time_run::run_command_str
Run a command at compile time, and return the output as a str.
The output is a static &str, and can be used for the value of consts. If the command fails to run, a compile error is generated.
For example:
use compile_time_run::run_command_str; const VALUE : &'static str = run_command_str!("echo", "Hello World!");