Rustup fails for armv8l

I have got problems building the image for raspberry pi 3 with rust.

The build fails always with these errors:
[Build] rustup: unknown CPU type: armv8l
[Build] Removing intermediate container ced5e52b7d68
[Error] Build failed: The command ‘/bin/sh -c curl -sSf https://static.rust-lang.org/rustup.sh | sh’ returned a non-zero code: 1
[Info] Uploading successful layers to registry for caching purposes
[==================================================>] 100%
[Info] Successfully updated cache.

remote: error: hook declined to update refs/heads/master
To git.resin.io:gh_sebi55/apagdigitalparking.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'gh_sebi55@git.resin.io:gh_sebi55/apagdigitalparking.git'

I just cloned the example from: https://github.com/resin-io-projects/resin-rust-hello-world

Hey @Sebi55, I think this is due to the fact that our builders are run on some beefy ARMv8 servers. However I think the work around in this thread: Resin Build Variable Inconsistency should help you get it built.

It would be good if this would be mentioned then in the tutorial for rust using the raspberry pi 3.

Thanks that works!

@zwalchuk we should add the above to our rust getting started docs and tutorials :slight_smile:

Issue created here for tracking: https://github.com/resin-io/docs/issues/739