Function pkg::bin_name
[−]
[src]
pub fn bin_name() -> Option<&'static str>
Returns the name of the binary file.
Examples
extern crate pkg; fn main() { println!( "The binary file name is {}", pkg::bin_name().unwrap_or("unknown") ); }