mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
@@ -0,0 +1 @@
|
|||||||
|
Fixed compiler warning in cf_opts.rs when building in release. Contributed by @ezera.
|
||||||
@@ -70,17 +70,19 @@ fn descriptor_cf_options(
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
let mut opts = opts
|
let opts = opts
|
||||||
.get_options_from_string("{{arena_block_size=2097152;}}")
|
.get_options_from_string("{{arena_block_size=2097152;}}")
|
||||||
.map_err(map_err)?;
|
.map_err(map_err)?;
|
||||||
|
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
let opts = opts
|
let opts = {
|
||||||
.get_options_from_string(
|
let mut opts = opts;
|
||||||
|
opts.get_options_from_string(
|
||||||
"{{paranoid_checks=true;paranoid_file_checks=true;force_consistency_checks=true;\
|
"{{paranoid_checks=true;paranoid_file_checks=true;force_consistency_checks=true;\
|
||||||
verify_sst_unique_id_in_manifest=true;}}",
|
verify_sst_unique_id_in_manifest=true;}}",
|
||||||
)
|
)
|
||||||
.map_err(map_err)?;
|
.map_err(map_err)?
|
||||||
|
};
|
||||||
|
|
||||||
Ok(opts)
|
Ok(opts)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user