Skip to content

Commit a22e470

Browse files
authored
fix: fix warnings with check-cfg.
1 parent 70f85a1 commit a22e470

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,7 @@ macro_rules! cfg_aliases {
365365
}
366366

367367
$(
368+
println!("cargo:rustc-check-cfg=cfg({})", stringify!($alias));
368369
if $crate::cfg_aliases!(@parser $($config)*) {
369370
println!("cargo:rustc-cfg={}", stringify!($alias));
370371
}

0 commit comments

Comments
 (0)