fib-example #42
1
examples/fib/main.rs
Normal file
1
examples/fib/main.rs
Normal file
@ -0,0 +1 @@
|
||||
fn main() {}
|
12
examples/fib/specification.json
Normal file
12
examples/fib/specification.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"entrypoints": {
|
||||
"main1": {
|
||||
"args": [
|
||||
"BinaryName"
|
||||
],
|
||||
"environment": [
|
||||
"Stdout"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
@ -98,7 +98,7 @@ fn main() {
|
||||
};
|
||||
|
||||
match run(&args) {
|
||||
Ok(_) => exitcode::OK,
|
||||
Ok(code) => code,
|
||||
Err(e) => {
|
||||
error!("error: {}", e);
|
||||
-1
|
||||
|
Loading…
Reference in New Issue
Block a user