Skip to content

Commit 8ad9372

Browse files
folkertdevbjorn3
andauthored
Update libbz2-rs-sys/src/bzlib.rs
Co-authored-by: bjorn3 <[email protected]>
1 parent 315aa16 commit 8ad9372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libbz2-rs-sys/src/bzlib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ macro_rules! prefix {
4747

4848
// NOTE: once we reach 1.0.0, the macro used for the `semver-prefix` feature should no longer include the
4949
// 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');
50+
const _PRE_ONE_DOT_O: () = assert!(env!("CARGO_PKG_VERSION_MAJOR").as_bytes()[0] == b'0');
5151

5252
#[cfg(feature = "semver-prefix")]
5353
macro_rules! prefix {

0 commit comments

Comments
 (0)