Teach cargo about cfg(rust_analyzer)

This commit is contained in:
Laurențiu Nicola 2024-01-04 18:10:14 +02:00
parent a2aab001a7
commit 3a2ae6410d
4 changed files with 13 additions and 1 deletions

View file

@ -0,0 +1,5 @@
//! This teaches cargo about our cfg(rust_analyzer)
fn main() {
println!("cargo:rustc-check-cfg=cfg(rust_analyzer)");
}