Skip to content

Commit

Permalink
Strip RISC-V binary (#475)
Browse files Browse the repository at this point in the history
This reduces the produced RISC-V binary size of the fibonacci example from 27KB down to 6KB.
  • Loading branch information
imikushin authored Oct 11, 2024
1 parent 31f65a4 commit 8f28f25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jolt-core/src/host/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ impl Program {
"passes=lower-atomic",
"-C",
"panic=abort",
"-C",
"strip=symbols",
"-C",
"opt-level=z",
];

let toolchain = if self.std {
Expand Down

0 comments on commit 8f28f25

Please sign in to comment.