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 | 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
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to ''

I just cloned the example from:

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: