mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-18 01:40:46 +00:00
12 lines
282 B
Rust
12 lines
282 B
Rust
use std::os::unix::prelude::*;
|
|
use std::process::Command;
|
|
use std::env;
|
|
|
|
fn main() {
|
|
let args = env::args()
|
|
.skip(1)
|
|
.filter(|s| s != "--strip-debug")
|
|
.collect::<Vec<_>>();
|
|
panic!("failed to exec: {}", Command::new("rust-lld").args(&args).exec());
|
|
}
|