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

Xargo error: can't find specification for target #194

Open
roblabla opened this issue Jan 30, 2018 · 4 comments
Open

Xargo error: can't find specification for target #194

roblabla opened this issue Jan 30, 2018 · 4 comments

Comments

@roblabla
Copy link
Contributor

roblabla commented Jan 30, 2018

After updating my rust toolchain to latest nightly, running xargo build -v --target=aarch64-nintendo-horizon-newlib gives errors out with Error loading target specification: Could not find specification for target "aarch64-nintendo-horizon-newlib". Full log can be found in this gist

Xargo version is 0.3.10.

So after ensuring it didn't happen on my old toolchain, I tried to cut down which nightly version broke it, and it seems to be nightly-2017-12-25. On nightly-2017-12-24, everything works fine, on nightly-2017-12-25, I get the error above.

@roblabla
Copy link
Contributor Author

I suppose this is related to this commit: f5349aa. However, given I'm running version 0.3.10, maybe that fix is not enough ?

@roblabla
Copy link
Contributor Author

My bad. This is a duplicate of #186 and rust-lang/cargo#4905.

@roblabla roblabla reopened this Jan 30, 2018
@roblabla
Copy link
Contributor Author

roblabla commented Jan 30, 2018

Actually reopening. I think the documentation/readme should be fixed to mention that people should set RUST_TARGET_PATH=`pwd`

@japaric
Copy link
Owner

japaric commented Feb 7, 2018

that people should set RUST_TARGET_PATH=pwd

That's a Cargo breakage. Older Cargos don't have that problem. You are free to send a pull request to update the documentation.

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