Skip to content

Commit

Permalink
fixup! fix(stageleft_tool): avoid generating warnings for unexpected …
Browse files Browse the repository at this point in the history
…`stageleft_devel` feature (hydro-project#1643)
  • Loading branch information
MingweiSamuel committed Jan 14, 2025
1 parent c7d2152 commit bb0615b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions stageleft_tool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,9 @@ pub fn gen_final_helper() {
macro_rules! gen_final {
() => {
#[allow(unexpected_cfgs)]
#[cfg(not(feature = "stageleft_devel"))]
$crate::gen_final_helper()
{
#[cfg(not(feature = "stageleft_devel"))]
$crate::gen_final_helper()
}
};
}

0 comments on commit bb0615b

Please sign in to comment.