commit c7e4303f88b9d9584485d3795d60cc4218f9300c
parent 9ecdb5db088a1447e1f813de23674c17b0065f77
Author: William Casarin <jb55@jb55.com>
Date: Thu, 14 Dec 2023 11:25:01 -0800
rust: fix some warnings
FORTIFY warnings still remain. unsure how to fix those
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
@@ -1,2 +1,4 @@
[workspace]
+resolver = "2"
members = [ "rust" ]
+
diff --git a/rust/src/lib.rs b/rust/src/lib.rs
@@ -4,12 +4,11 @@
#[allow(unused)]
mod bindings;
-use std::ffi::CString;
-
#[cfg(test)]
mod tests {
use super::*;
use bindings as ndb;
+ use std::ffi::CString;
#[test]
fn ndb_init_works() {