mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-util/rustup: stop enabling rustls, even arch dependent
It is just an openssl fork, come on. Also, ``` * CMP: =dev-util/rustup-1.28.2-r1 with dev-util/rustup-1.28.2-r1/image * SIZE: 15.94MiB -> 8.93MiB, 5 -> 5 files * ------> SIZE(-43.94%) ``` ... this size seems excessive. Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -51,18 +51,13 @@ src_unpack() {
|
||||
|
||||
src_configure() {
|
||||
# modeled after ci/run.bash upstream
|
||||
# reqwest-rustls-tls requires ring crate, which is not very portable.
|
||||
# reqwest-rustls-tls requires ring crate and/or aws-lc, which is not
|
||||
# very portable and also compiles much vendored openssl code
|
||||
local myfeatures=(
|
||||
no-self-update
|
||||
curl-backend
|
||||
reqwest-native-tls
|
||||
)
|
||||
case ${ARCH} in
|
||||
ppc* | mips* | riscv* | s390*)
|
||||
;;
|
||||
*) myfeatures+=( reqwest-rustls-tls )
|
||||
;;
|
||||
esac
|
||||
cargo_src_configure --no-default-features
|
||||
}
|
||||
|
||||
|
||||
@@ -51,18 +51,13 @@ src_unpack() {
|
||||
|
||||
src_configure() {
|
||||
# modeled after ci/run.bash upstream
|
||||
# reqwest-rustls-tls requires ring crate, which is not very portable.
|
||||
# reqwest-rustls-tls requires ring crate and/or aws-lc, which is not
|
||||
# very portable and also compiles much vendored openssl code
|
||||
local myfeatures=(
|
||||
no-self-update
|
||||
curl-backend
|
||||
reqwest-native-tls
|
||||
)
|
||||
case ${ARCH} in
|
||||
ppc* | mips* | riscv* | s390*)
|
||||
;;
|
||||
*) myfeatures+=( reqwest-rustls-tls )
|
||||
;;
|
||||
esac
|
||||
cargo_src_configure --no-default-features
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user