Skip to content

Commit

Permalink
Address warning
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Spinale <[email protected]>
  • Loading branch information
nspin committed Sep 25, 2024
1 parent c694055 commit f5c8f8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/sel4-generate-target-specs/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ impl Context {
}

fn builtin(triple: &str) -> Target {
#[cfg_attr(not(target_spec_has_metadata), allow(unused_mut))]
let mut target = Target::expect_builtin(&TargetTriple::from_triple(triple));
#[cfg(target_spec_has_metadata)]
{
Expand Down

0 comments on commit f5c8f8e

Please sign in to comment.