mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
clippy try 2
This commit is contained in:
parent
a3fba8afbf
commit
c073f1fb03
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ use std::path::Path;
|
|||
//
|
||||
// we also include a "globaldce" pass at the beginning of each pipeline here, which is required
|
||||
// to prevent bugs with the surgical linker, and also improves the build time.
|
||||
pub fn get_llvm_passes_string<'a>(arena: &'a Bump, opt_level: OptLevel) -> &'a str {
|
||||
pub fn get_llvm_passes_string(arena: &Bump, opt_level: OptLevel) -> &str {
|
||||
(String::from_str_in("globaldce,", arena)
|
||||
+ match opt_level {
|
||||
OptLevel::Development | OptLevel::Normal => "default<O0>",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue