Skip to content

Commit

Permalink
fixup! style: fix all unexpected cfgs
Browse files Browse the repository at this point in the history
  • Loading branch information
MingweiSamuel committed Jan 14, 2025
1 parent 4477567 commit 4b0b4b3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion stageleft_tool/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,10 @@ pub fn gen_final_helper() {
#[macro_export]
macro_rules! gen_final {
() => {
#[allow(unexpected_cfgs)]
#[allow(
unexpected_cfgs,
reason = "Consumer crates may optionally add the `stageleft_devel` feature."
)]
{
println!("cargo::rustc-check-cfg=cfg(stageleft_macro)");

Expand Down

0 comments on commit 4b0b4b3

Please sign in to comment.