- Include crate metadata in program
const VERSION: Option<&'static str> = option_env!("CARGO_PKG_VERSION");
// ...
println!("MyProgram v{}", VERSION.unwrap_or("unknown"));
const VERSION: Option<&'static str> = option_env!("CARGO_PKG_VERSION");
// ...
println!("MyProgram v{}", VERSION.unwrap_or("unknown"));
#!/usr/bin/env bash | |
set -x | |
PREFIX="ADD YOUR PREFIX HERE" | |
PATH=$(brew --prefix bison)/bin:$(brew --prefix texinfo)/bin:${PATH} | |
export PATH | |
brew unlink isl | |
brew link isl@0.18 |