Silence a few rust build warnings

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2023-12-21 19:49:55 -05:00
parent 596ec1050d
commit eaca023d53
2 changed files with 1 additions and 1 deletions

View File

@ -36,6 +36,7 @@ fn main() {
.clang_arg("-DZSTD_STATIC_LINKING_ONLY")
.clang_arg("-DNO_BCACHEFS_FS")
.clang_arg("-D_GNU_SOURCE")
.clang_arg("-DRUST_BINDGEN")
.clang_arg("-fkeep-inline-functions")
.derive_debug(true)
.derive_default(true)

View File

@ -7,7 +7,6 @@ use crate::printbuf_to_formatter;
use std::fmt;
use std::marker::PhantomData;
use std::mem::MaybeUninit;
use std::ptr;
use bitflags::bitflags;
pub struct BtreeTrans<'f> {