11 lines
306 B
Rust
11 lines
306 B
Rust
//! Cargo's world entry point. Compile through HTTP, then execute tests and programs in the world.
|
|
fn main() {
|
|
match world_cargo::run() {
|
|
Ok(code) => std::process::exit(code),
|
|
Err(error) => {
|
|
eprintln!("cargo: {error}");
|
|
std::process::exit(1);
|
|
}
|
|
}
|
|
}
|