rustls no likey termux
A Rust Minecraft server built with performance and parity in mind
Status: Pre-Alpha
Brought to you by:
epicc
Originally created by: BlueGradientHorizon
error: failed to run custom build command for `steel-utils v0.15.1+mc26.2 (/data/data/com.termux/files/home/SteelMC/steel-utils)`
Caused by:
process didn't exit successfully: `/data/data/com.termux/files/home/SteelMC/target/release/build/steel-utils-ba2d859a8fdd9eea/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-changed=build/
cargo:rerun-if-changed=Cargo.toml
cargo:rerun-if-changed=../Cargo.toml
cargo:warning=Assets not found or version mismatch for Minecraft 26.2. Fetching...
--- stderr
thread 'reqwest-internal-sync-runtime' (17731) panicked at /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustls-platform-verifier-0.7.0/src/android.rs:90:10:
Expect rustls-platform-verifier to be initialized
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' (17718) panicked at /data/data/com.termux/files/home/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.13.4/src/blocking/client.rs:1572:5:
event loop thread panicked
The issue is known: https://github.com/rustls/rustls-platform-verifier/issues/219
The minimal fix I found is to replace in steel-utils/Cargo.toml
reqwest = { workspace = true, features = ["blocking"] }
with
reqwest = { default-features = false, workspace = true, features = ["blocking", "native-tls"] }