Skip to content

Commit f2fd820

Browse files
authored
Fix compilation of optimize_for_size on stable Rust. (#139)
1 parent 572b874 commit f2fd820

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/mem/small.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#[cfg(not(feature = "nightly"))]
2+
use crate::ptr::Polyfill as _;
13
use core::ffi::{c_char, c_int, c_void};
24

35
#[no_mangle]

0 commit comments

Comments
 (0)