blob: 10263869e8dcf1af0f4f1883b9e1d5794ae05633 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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());
}
|