mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-12 13:56:22 +02:00
Some checks failed
Checks / Prefligit / prefligit (push) Failing after 1s
Release Docker Image / define-variables (push) Failing after 1s
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Has been skipped
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Has been skipped
Release Docker Image / merge (push) Has been skipped
Checks / Rust / Format (push) Failing after 1s
Checks / Rust / Clippy (push) Failing after 27s
Checks / Rust / Cargo Test (push) Failing after 26s
Also refactors main.rs/mod.rs to silence clippy
11 lines
391 B
Rust
11 lines
391 B
Rust
use std::{env, process::Command};
|
|
|
|
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|
let mut child = Command::new("cargo").args(["run", "--package", "xtask-generate-commands", "--"].into_iter().map(ToOwned::to_owned).chain(env::args().skip(2)))
|
|
// .stdout(Stdio::piped())
|
|
// .stderr(Stdio::piped())
|
|
.spawn()
|
|
.expect("failed to execute child");
|
|
child.wait()?;
|
|
Ok(())
|
|
}
|