Skip to content

Commit

Permalink
Merge pull request rust-lang#388 from JakubOnderka/patch-1
Browse files Browse the repository at this point in the history
Fix build for beta and nightly.

Since it's truly unused, I wonder if it rather should be removed then allowed, but the comment on the module makes me think there is some deeper purpose. So better play it safe.
  • Loading branch information
Byron authored Dec 17, 2023
2 parents a99b53e + 8ef8ae6 commit f0463d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ffi/c.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ pub use self::c_backend::*;

/// For backwards compatibility, we provide symbols as `mz_` to mimic the miniz API
#[allow(bad_style)]
#[allow(unused_imports)]
mod c_backend {
use std::mem;
use std::os::raw::{c_char, c_int};
Expand Down

0 comments on commit f0463d5

Please sign in to comment.