Expect rustls-platform-verifier to be initialized
I'm trying to install rust, I tried trough
APT (pkg)
, and it installs rustup
and cargo without a tool chain, if installing using the script from sh.rustup.rs
it simply does not install giving an error, if I try to install a tool-chain with the rustup
installed from APT
it gives the same error.
The error being a panic that says expected rustls-platform-verifier to be initialized
I did pkg update
pkg upgrade
uninstalled, installed again, tried old versions... Nothing works.
If someone can help with this error It'd be greatly appreciated.
Thanks in advanceSolution:Jump to solution
that issue should be resolved now, try
pkg upd && pkg upg
and try pkg ins rust
8 Replies
Why not
pkg install rust
? That should install the necessary packages and libs.I did that, but when I do cargo run it says
select a default toolchain
And if I do rustup default stable
it panics saying that🔥

That's strange, I have rust installed for a long time and it doesn't seem to come with rustup
Maybe check if sh.rustup.rs has failed after installing cargo and rustup

I'm telling you, you shouldn't even have rustup because it's not in the rust package termux provides
You probably have the remnants of sh.rustup.rs script
If you still insist on using rustup, then you should report this error to rustup maintainers, this error doesn't come from termux
I don't really want to use rustup
I just want to use rust
Solution
that issue should be resolved now, try
pkg upd && pkg upg
and try pkg ins rust