mirror of
https://github.com/Noratrieb/cargo-minimize.git
synced 2026-01-14 16:35:01 +01:00
move PassController
This commit is contained in:
parent
64da92ab9e
commit
a50131cf64
3 changed files with 200 additions and 198 deletions
|
|
@ -66,7 +66,7 @@ impl RustFunction {
|
|||
|
||||
let source_path = file.path().join("source.rs");
|
||||
|
||||
std::fs::write(&source_path, &full_file).context("writing source")?;
|
||||
std::fs::write(&source_path, full_file).context("writing source")?;
|
||||
|
||||
let mut rustc = Command::new("rustc");
|
||||
rustc.arg(source_path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue