Fix unchecked build.
This commit is contained in:
parent
69352d74c2
commit
c87645ba77
@ -718,6 +718,7 @@ pub struct Limits {
|
|||||||
pub max_map_size: Option<NonZeroUsize>,
|
pub max_map_size: Option<NonZeroUsize>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(not(feature = "unchecked"))]
|
||||||
impl Default for Limits {
|
impl Default for Limits {
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self {
|
Self {
|
||||||
|
Loading…
Reference in New Issue
Block a user