Syncing with codecrafters-io/languages

Created by https://github.com/codecrafters-io/languages
This commit is contained in:
Paul Kuruvilla
2021-09-23 18:39:38 +01:00
parent 1a414a8b1f
commit c05c7a55a3
8 changed files with 1343 additions and 1 deletions

20
src/main.rs Normal file
View File

@@ -0,0 +1,20 @@
// Usage: your_docker.sh run <image> <command> <arg1> <arg2> ...
fn main() {
println!("Your code goes here!");
// Uncomment this block to pass the first stage!
// let args: Vec<_> = std::env::args().collect();
// let command = &args[3];
// let command_args = &args[4..];
// let output = std::process::Command::new(command)
// .args(command_args)
// .output()
// .unwrap();
//
// if output.status.success() {
// let std_out = std::str::from_utf8(&output.stdout).unwrap();
// println!("{}", std_out)
// } else {
// std::process::exit(1);
// }
}