The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
337 B
11 lines
337 B
mod test; |
|
use std::env; |
|
|
|
fn main() { |
|
let args: Vec<String> = env::args().collect(); |
|
let first = args[1].parse::<i32>().expect("Invliad value for first argument."); |
|
let second = args[2].parse::<i32>().expect("Invliad value for second argument."); |
|
|
|
let new = test::add(first, second); |
|
println!("New value: {}", new); |
|
}
|
|
|