Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo-tessel can't find mips libstd 1.14.0 #60

Open
rillian opened this issue Jan 3, 2017 · 2 comments
Open

cargo-tessel can't find mips libstd 1.14.0 #60

rillian opened this issue Jan 3, 2017 · 2 comments

Comments

@rillian
Copy link

rillian commented Jan 3, 2017

I tried our tessel with rust again today. Looks like there's been some progress since the summer! However:

$ t2 run blinky
INFO Looking for your Tessel...
INFO Connected to Tessel-02A35010D618.
WARN Could not find all the components for cross-compiling Rust:
WARN MIPS libstd v1.14.0 not installed.
WARN Please run "cargo tessel sdk install" and try again.
WARN To instead use the remote Rust compiler, use "t2 run <target> --rustcc".
$ cargo tessel sdk install
INFO Latest Tessel build tools already installed.
ERR! undefined
ERR! Please switch to using a stable Rust version >= 1.11.0 and try again.
WARN SDK toolchain is installed, but a libstd for your Rust version is not.
$ rustc --version
rustc 1.14.0 (e8a012324 2016-12-16)

I tried installing the mips-unknown-linux-gnu and mips-unknown-linux-musl target libraries with rustup, but this didn't seem to help. I guess it wants some alternate build which isn't up-to-date?

@rillian
Copy link
Author

rillian commented Jan 3, 2017

Same issue occurs with 1.13, but 1.11 and 1.12 work. So this is a work-around:

$ rustup override set 1.12.0
[wait for 1.12.0-stable to download and install]
$ cargo tessel sdk install
[wait for libstd to install]
$ t2 run blinky
[code deploys and runs!]

@iammcgaber
Copy link

Thanks for that @rillian. That was totally the problem. Your workaround fixed it. Props.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants