Skip to content

Commit 0bfd401

Browse files
committed
Disable cargo warnings
1 parent da268c0 commit 0bfd401

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ homepage = "hhttps://github.com/crossdb-org/crossdb-rust"
99
repository = "https://github.com/crossdb-org/crossdb-rust.git"
1010

1111
[dependencies]
12-
serde = { version = "1.0.210", features = ["derive"] }
12+
serde = "1.0"
1313
thiserror = "1.0"
1414

1515
[build-dependencies]

build.rs

+7-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@ fn main() {
1717
.include("crossdb/include")
1818
.flag("-fPIC")
1919
.opt_level(2)
20-
.static_flag(true)
21-
.compile("crossdb");
20+
.static_flag(true);
21+
22+
// TODO: Potentially unsafe
23+
builder.cargo_warnings(false);
24+
25+
builder.compile("crossdb");
26+
2227
println!("cargo:rustc-link-lib=static=crossdb");
2328
println!("cargo:rustc-link-lib=pthread");
2429

0 commit comments

Comments
 (0)