We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 315aa16 commit 8ad9372Copy full SHA for 8ad9372
libbz2-rs-sys/src/bzlib.rs
@@ -47,7 +47,7 @@ macro_rules! prefix {
47
48
// NOTE: once we reach 1.0.0, the macro used for the `semver-prefix` feature should no longer include the
49
// minor version in the name. The name is meant to be unique between semver-compatible versions!
50
-const _PRE_ONE_DOT_O: () = assert!(env!("CARGO_PKG_VERSION").as_bytes()[0] == b'0');
+const _PRE_ONE_DOT_O: () = assert!(env!("CARGO_PKG_VERSION_MAJOR").as_bytes()[0] == b'0');
51
52
#[cfg(feature = "semver-prefix")]
53
macro_rules! prefix {
0 commit comments