T
Termux•5mo ago
Memw

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 advance
Solution:
that issue should be resolved now, try pkg upd && pkg upg and try pkg ins rust
Jump to solution
8 Replies
FalconSN
FalconSN•5mo ago
Why not pkg install rust? That should install the necessary packages and libs.
Memw
MemwOP•5mo ago
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
nno1
nno1•5mo ago
🔥
No description
FalconSN
FalconSN•5mo ago
That's strange, I have rust installed for a long time and it doesn't seem to come with rustup
~ $ rustup
No command rustup found, did you mean:
Command rustc in package rust
~ $ rustup
No command rustup found, did you mean:
Command rustc in package rust
Maybe check if sh.rustup.rs has failed after installing cargo and rustup
Memw
MemwOP•5mo ago
No description
FalconSN
FalconSN•5mo ago
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
Memw
MemwOP•5mo ago
I don't really want to use rustup I just want to use rust
Solution
komo
komo•5mo ago
that issue should be resolved now, try pkg upd && pkg upg and try pkg ins rust

Did you find this page helpful?