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:
Eli Schwartz
2025-08-07 00:37:02 -04:00
parent 964d68aafe
commit 426ff8d919
2 changed files with 4 additions and 14 deletions

View File

@@ -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
}

View File

@@ -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
}