// Simplified version of ../allow_prefixed/build.rs.
#[rustversion::nightly]fnemit_unstable_feature(){println!("cargo:rustc-cfg=unstable_feature");}#[rustversion::not(nightly)]fnemit_unstable_feature(){}// Whether this Rust version supports `#![deny(invalid_doc_attributes)]` and similar. The exact
// earliest version is not mentioned at https://releases.rs, but it seems to be 1.54.
#[rustversion::since(1.54)]fnemit_can_check_doc_attributes(){println!("cargo:rustc-cfg=can_check_doc_attributes");}#[rustversion::not(since(1.54))]fnemit_can_check_doc_attributes(){}fnmain(){emit_unstable_feature();emit_can_check_doc_attributes();}