mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Remove rlib+staticlib configuration for Rust crates
Only the final crate needs to be a `staticlib`, no need for all the intermediate steps to produce staticlibs!
This commit is contained in:
parent
757a2360a4
commit
38d644c94b
@ -9,7 +9,6 @@ build = "../build.rs"
|
|||||||
[lib]
|
[lib]
|
||||||
name = "crypto"
|
name = "crypto"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
crate_type = ["rlib", "staticlib"]
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc = "=0.2.39"
|
libc = "=0.2.39"
|
||||||
|
1
src/rust/external/Cargo.toml
vendored
1
src/rust/external/Cargo.toml
vendored
@ -11,7 +11,6 @@ tor_allocate = { path = "../tor_allocate" }
|
|||||||
[lib]
|
[lib]
|
||||||
name = "external"
|
name = "external"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
crate_type = ["rlib", "staticlib"]
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# We have to define a feature here because doctests don't get cfg(test),
|
# We have to define a feature here because doctests don't get cfg(test),
|
||||||
|
@ -31,4 +31,3 @@ path = "../tor_log"
|
|||||||
[lib]
|
[lib]
|
||||||
name = "protover"
|
name = "protover"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
crate_type = ["rlib", "staticlib"]
|
|
||||||
|
@ -9,7 +9,6 @@ libc = "0.2.39"
|
|||||||
[lib]
|
[lib]
|
||||||
name = "smartlist"
|
name = "smartlist"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
crate_type = ["rlib", "staticlib"]
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# We have to define a feature here because doctests don't get cfg(test),
|
# We have to define a feature here because doctests don't get cfg(test),
|
||||||
|
@ -9,7 +9,6 @@ libc = "=0.2.39"
|
|||||||
[lib]
|
[lib]
|
||||||
name = "tor_allocate"
|
name = "tor_allocate"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
crate_type = ["rlib", "staticlib"]
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# We have to define a feature here because doctests don't get cfg(test),
|
# We have to define a feature here because doctests don't get cfg(test),
|
||||||
|
@ -6,7 +6,6 @@ authors = ["The Tor Project"]
|
|||||||
[lib]
|
[lib]
|
||||||
name = "tor_log"
|
name = "tor_log"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
crate_type = ["rlib", "staticlib"]
|
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# We have to define a feature here because doctests don't get cfg(test),
|
# We have to define a feature here because doctests don't get cfg(test),
|
||||||
|
@ -6,7 +6,7 @@ version = "0.1.0"
|
|||||||
[lib]
|
[lib]
|
||||||
name = "tor_rust"
|
name = "tor_rust"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
crate_type = ["rlib", "staticlib"]
|
crate_type = ["staticlib"]
|
||||||
|
|
||||||
[dependencies.tor_util]
|
[dependencies.tor_util]
|
||||||
path = "../tor_util"
|
path = "../tor_util"
|
||||||
|
@ -6,7 +6,6 @@ version = "0.0.1"
|
|||||||
[lib]
|
[lib]
|
||||||
name = "tor_util"
|
name = "tor_util"
|
||||||
path = "lib.rs"
|
path = "lib.rs"
|
||||||
crate_type = ["rlib", "staticlib"]
|
|
||||||
|
|
||||||
[dependencies.tor_allocate]
|
[dependencies.tor_allocate]
|
||||||
path = "../tor_allocate"
|
path = "../tor_allocate"
|
||||||
|
Loading…
Reference in New Issue
Block a user