Skip to content

Commit 1c66370

Browse files
lqdseanmonstar
authored andcommittedMar 3, 2022
fix(ffi): don't build C libraries by default
Remove unconditional building of FFI libraries: now that nightly supports --crate-type, it can be opted into. This fixes cargo's pipelining both for dependencies and for dependent crates, resulting in faster from-scratch builds.
1 parent 055b4e7 commit 1c66370

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
 

‎Cargo.toml

-3
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ include = [
1919
#"build.rs",
2020
]
2121

22-
[lib]
23-
crate-type = ["lib", "staticlib", "cdylib"]
24-
2522
[dependencies]
2623
bytes = "1"
2724
futures-core = { version = "0.3", default-features = false }

0 commit comments

Comments
 (0)
Please sign in to comment.