Skip to content

Commit 6fa35b5

Browse files
committed
fix(c_api): fix c export feature check
1 parent c0662f1 commit 6fa35b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/c_export.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ impl<'io, ST: StateType> StreamOxide<'io, ST> {
253253
}
254254
}
255255

256-
#[cfg(not(no_c_export))]
256+
#[cfg(not(feature = "no_c_export"))]
257257
unmangle!(
258258
/// Default allocation function using `malloc`.
259259
pub unsafe extern "C" fn miniz_def_alloc_func(

0 commit comments

Comments
 (0)