From 426ff8d9191db76478c82e2c480dd73ab13820ec Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 7 Aug 2025 00:37:02 -0400 Subject: [PATCH] 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 --- dev-util/rustup/rustup-1.28.2-r1.ebuild | 9 ++------- dev-util/rustup/rustup-9999.ebuild | 9 ++------- 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/dev-util/rustup/rustup-1.28.2-r1.ebuild b/dev-util/rustup/rustup-1.28.2-r1.ebuild index 2b094f98a402a..09d89dcb1a8a8 100644 --- a/dev-util/rustup/rustup-1.28.2-r1.ebuild +++ b/dev-util/rustup/rustup-1.28.2-r1.ebuild @@ -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 } diff --git a/dev-util/rustup/rustup-9999.ebuild b/dev-util/rustup/rustup-9999.ebuild index 2b094f98a402a..09d89dcb1a8a8 100644 --- a/dev-util/rustup/rustup-9999.ebuild +++ b/dev-util/rustup/rustup-9999.ebuild @@ -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 }