diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-21 19:49:55 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-21 19:49:55 -0500 |
commit | eaca023d5379bcf8f31a7a83ded985fe1565fc58 (patch) | |
tree | b17033622b955c1294f5fa98e47ea6fa4a7edf95 /rust-src/bch_bindgen/build.rs | |
parent | 596ec1050d0ce55f5e2d38aa8cdcb46d92178140 (diff) |
Silence a few rust build warnings
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'rust-src/bch_bindgen/build.rs')
-rw-r--r-- | rust-src/bch_bindgen/build.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust-src/bch_bindgen/build.rs b/rust-src/bch_bindgen/build.rs index 819b337e..79337a0f 100644 --- a/rust-src/bch_bindgen/build.rs +++ b/rust-src/bch_bindgen/build.rs @@ -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) |