Hello everyone,
I am trying to code my first hApp on my Mac mini that has a M1 chip.
I have followed the standard instructions to get started but executing:
CARGO_TARGET_DIR=target cargo build --release --target wasm32-unknown-unknown
Fails with error:
info: syncing channel updates for '1.45.2-aarch64-apple-darwin'
info: latest update on 2020-08-03, rust version 1.45.2 (d3fb005a3 2020-07-31)
error: target 'aarch64-apple-darwin' not found in channel. Perhaps check https://doc.rust-lang.org/nightly/rustc/platform-support.html for available targets
error: backtrace:
error: 0: backtrace::capture::Backtrace::new_unresolved
1: error_chain::backtrace::imp::InternalBacktrace::new
2: rustup::dist::manifest::Manifest::get_profile_components
3: rustup::dist::dist::try_update_from_dist_
4: rustup::install::InstallMethod::install
5: rustup::toolchain::DistributableToolchain::install_from_dist
6: rustup::config::Cfg::find_or_install_override_toolchain_or_default
7: rustup_init::main
8: std::sys_common::backtrace::__rust_begin_short_backtrace
9: _main
I guess this is due to the lack of support of the architecture with that particular version of rust. Do you know if there is anything I can do to get going?
Thank you!