T
Termux4w ago
DLC

Expect rustls-platform-verifier to be initialized

When I run cargo anything, I get the error Expect rustls-platform-verifier to be initialized. I tried pkg update && pkg upgrade, removing and reinstalling rust. Nothing seems to work.
4 Replies
TomIO
TomIO4w ago
Just to verify real quick. That means all your packages are up to date and you are currently running package version 1.90.0+really1.90.0-1 of the rust package?
TomIO
TomIO4w ago
There is a pending pull request to update Rust to 1.91.0, which might fix this issue. You could try the build artifacts from that to see if it solves the issue. https://github.com/termux/termux-packages/pull/27075 We have had some recent regressions with Rust 1.90.0 https://github.com/termux/termux-packages/issues/26682
GitHub
[Bug]: Can't run any rust program with rust=1.90.0 · Issue #26682 ...
Problem description After upgrading from rust 1.89.0-1 to 1.90.0 I can't run any program. I get the following error: # cargo run Compiling my-proj v0.1.0 (/data/data/com.termux/files/home/Work/...
DLC
DLCOP4w ago
Yeah, can't run --version, but I just installed rust yesterday.
TomIO
TomIO4w ago
rust --version would just show 1.90.0 anyway, we'd need the package version from dpkg -s rust. But lets move this to #general so we're not repeating things.

Did you find this page helpful?