Closed eau-u4f closed 1 year ago
That's bizarre. It's complaining that you're compiling with a different version of rustc. It's saying you're using the 1.64.0 toolchain, and it... really wants the 1.64.0 toolchain.
Can you please provide the output of rustc --version
?
$ rustc --version rustc 1.64.0
Are you using a custom build of rustc? If you use the official version, it prints out the git hash that built it:
$ $ rustc --version
rustc 1.64.0 (a55dd71d5 2022-09-19)
$
If you use a custom build of Rust, you will need to build libstd for Xous yourself. Instructions on how to do that are made available at: https://github.com/betrusted-io/rust#building-from-source
homebrew version on macOS
i'll try the build from source.
It looks like homebrew ships a custom build of Rust, and is therefore incompatible with the precompiled libstd we ship: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/rust.rb
Since that's the case, you'll need to build libstd from source.
Should this issue be marked as wontfix and closed because the resolution seems to be that an incompatible toolchain build was used?
In the future, building your own libstd will be slightly easier when using nightly and -Zbuild-std
, but for now it's a "wontfix" -- we only support official Rust builds.
Trying to prepare renode, and error when building renode-image. From: https://github.com/betrusted-io/xous-core#quickstart-using-an-emulator