Skip to content

Commit

Permalink
-C opt-level=3 makes a huge difference here.
Browse files Browse the repository at this point in the history
Spotted by @sw17ch, thank you.
  • Loading branch information
katef committed Aug 24, 2024
1 parent 60baaab commit e7a21b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/retest/runner.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ compile(enum implementation impl,
break;

case IMPL_RUST:
if (0 != systemf("%s %s --crate-type dylib %s -o %s",
if (0 != systemf("%s %s -C opt-level=3 --crate-type dylib %s -o %s",
"rustc", "--edition 2021",
tmp_src, tmp_so))
{
Expand Down

0 comments on commit e7a21b4

Please sign in to comment.