setup cargo run to use containerized build tools that are not rust tools

This commit is contained in:
2025-09-25 22:30:41 +02:00
parent c4820e8035
commit 50a052df9a
7 changed files with 70 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
use std::process::Command;
use std::{collections::VecDeque, env, process::Command};
use vergen::EmitBuilder;
@@ -50,6 +50,9 @@ fn linker_be_nice() {
}
fn main() {
if Command::new("podman").arg("--version").output().is_err() {
println!("Could not find `podman` installation, assuming the developer has setup all required tool for build manually! … ")
}
webpack();
linker_be_nice();
let _ = EmitBuilder::builder().all_git().all_build().emit();