Closed K4KDR closed 2 years ago
Ok, problem solved. I removed the version of rust that I had previously installed from the Ubuntu repository and reinstalled from https://www.rust-lang.org/tools/install
... now the build completes successfully.
I think the problem here is that you had two copies of rustc
. One installed system-wide by apt
, and the other one installed to $HOME/.cargo/bin
by rustup
. Only the rustup one had support for rv32imac. However, depending on which order you have the folders in your $PATH
, when you call rustc
you may get one or the other. It looks like cargo
was actually calling the system-wide rustc
. You can see which one you get with which rustc
. Probably you should have $HOME/.cargo/bin
first in your $PATH
to avoid weird problems like this one.
Yes, the repository version of rust/cargo worked for the command:
nc 86.82.68.237 10000 | RUST_LOG=info cargo run --release OSNMA_PublicKey_20210920133026.pem
... but obviously not for building the osnma-longan-nano package.
Thanks!
Good. I think this issue can be close now (you can close it yourself).
Will do!
Good day!
I have tried to follow the instructions exactly but unfortunately have been unable to build the crate for 'osnma-longan-nano'
Here is some output that I hope might both illustrate the error and hopefully provide enough detail to point out where I have gone wrong. Many thanks!!