We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 594ed0a commit bba9541Copy full SHA for bba9541
Cargo.toml
@@ -5,6 +5,7 @@ authors = ["Ivan Molodetskikh <[email protected]>"]
5
description = "A circular buffer-like queue."
6
license = "MIT/Apache-2.0"
7
build = "build.rs"
8
+edition = "2015"
9
10
readme = "README.md"
11
documentation = "https://docs.rs/circular-queue"
build.rs
@@ -1,6 +1,7 @@
1
extern crate version_check;
2
3
fn main() {
4
+ println!("cargo:rustc-check-cfg=cfg(has_extern_crate_alloc)");
if version_check::is_min_version("1.36.0").unwrap_or(false) {
println!("cargo:rustc-cfg=has_extern_crate_alloc");
}
0 commit comments