🔧 Fix all unused_mut warnings: 16 instances cleaned up

- Remove unnecessary 'mut' from variable declarations
- Clean up code in boxes/, interpreter/, mir/, backend/, and runtime/
- No functional changes, just cleaner code
This commit is contained in:
Selfhosting Dev
2025-09-11 16:34:22 +09:00
parent ba33431f02
commit faf79c5d52
8 changed files with 12 additions and 12 deletions

View File

@ -31,7 +31,7 @@ impl AotCompilerBox {
Err(e) => return Box::new(StringBox::new(format!("ERR: current_exe(): {}", e)))
};
// Propagate relevant envs (AOT/JIT observe)
let mut c = cmd.arg("--backend").arg("vm") // ensures runner path
let c = cmd.arg("--backend").arg("vm") // ensures runner path
.arg("--compile-native")
.arg("-o").arg(out)
.arg(file)