Skip to content

Commit

Permalink
fix option
Browse files Browse the repository at this point in the history
  • Loading branch information
simvux committed Dec 1, 2024
1 parent 9c0d11f commit 6eb914f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lumina-compiler/src/backend/cranelift/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ pub fn run(target: Target, dwarf: BinDebugInfo, lir: lir::Output) -> Vec<u8> {
shared_builder.set("opt_level", "speed").unwrap();
shared_builder.enable("preserve_frame_pointers").unwrap();
shared_builder.enable("unwind_info").unwrap();
shared_builder.enable("alias_analysis").unwrap();
let shared_flags = settings::Flags::new(shared_builder);
shared_flags.enable_alias_analysis();
assert!(shared_flags.unwind_info());

let isa = target.isa().finish(shared_flags).unwrap();
Expand Down

0 comments on commit 6eb914f

Please sign in to comment.