mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
Add --opt-size and compiling smaller binaries
This commit is contained in:
parent
279652a5af
commit
69b4e78ac7
6 changed files with 61 additions and 34 deletions
|
@ -199,7 +199,7 @@ pub fn gen_from_mono_module(
|
|||
emit_debug_info: bool,
|
||||
) -> CodeGenTiming {
|
||||
match opt_level {
|
||||
OptLevel::Normal | OptLevel::Optimize => gen_from_mono_module_llvm(
|
||||
OptLevel::Normal | OptLevel::Size | OptLevel::Optimize => gen_from_mono_module_llvm(
|
||||
arena,
|
||||
loaded,
|
||||
roc_file_path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue