Skip to content
Snippets Groups Projects

Draft: Write MSRV in derive-deftly-macros Cargo.toml too

Closed Ian Jackson requested to merge msrv into main
2 files
+ 2
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 5
2
@@ -14,8 +14,11 @@
// (and fast to compile) as possible.
fn main() {
// We must use deprecated single colon `cargo:rustc...` syntax,
// because otherwise cargo thinks we're violating our MSRV.
// https://github.com/rust-lang/cargo/issues/14147
println!(
r#"cargo::rustc-check-cfg=cfg(derive_deftly_dprint)
cargo::rustc-check-cfg=cfg(feature, values("bizarre"))"#
r#"cargo:rustc-check-cfg=cfg(derive_deftly_dprint)
cargo:rustc-check-cfg=cfg(feature, values("bizarre"))"#
);
}
Loading