feat: Add --no-opt flag and a failing test case

Introduce a --no-opt flag to disable compiler optimizations and add a
new integration test case to reproduce a slot clash issue during
inlining.
This commit is contained in:
Michael Schimmel
2026-03-06 11:47:31 +01:00
parent 32a1f21463
commit 3ded62d836
2 changed files with 29 additions and 2 deletions
+2 -2
View File
@@ -42,8 +42,8 @@ struct Cli {
fn main() {
let cli = Cli::parse();
let env = Environment::new();
// Use env.optimization setting if needed, though it's currently on by default
let mut env = Environment::new();
env.optimization = !cli.no_opt;
// Load libraries
for lib_path in &cli.lib {