Skip to content

Commit

Permalink
tune mir-opt-level=1(should not hurt the debug-ability of programs)
Browse files Browse the repository at this point in the history
  • Loading branch information
hycinth22 committed Jun 1, 2024
1 parent ea2d5f3 commit e1bb884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ fn main() {
{
// Tell compiler to generate non optimized mir
rustc_command_line_arguments.push("-Z".into());
rustc_command_line_arguments.push("mir-opt-level=0".into());
rustc_command_line_arguments.push("mir-opt-level=1".into());
}

if !rustc_command_line_arguments
Expand Down

0 comments on commit e1bb884

Please sign in to comment.