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

rust-lld not found #215

Closed
Rillian-Grant opened this issue Jul 16, 2018 · 4 comments
Closed

rust-lld not found #215

Rillian-Grant opened this issue Jul 16, 2018 · 4 comments

Comments

@Rillian-Grant
Copy link

I followed the instructions on page 4 of the book but when I got to the compilation stage I encounterd an error:

pi:~/Documents/Programming/Rust/wasm/Hello_World/hello-world $ cargo build --target wasm32-unknown-unknown --release
   Compiling hello-world v0.1.0 (file:///home/pi/Documents/Programming/Rust/wasm/Hello_World/hello-world)
error: linker `rust-lld` not found                                       ] 0/1  
  |
  = note: No such file or directory (os error 2)

error: aborting due to previous error

error: Could not compile `hello-world`.                                         

To learn more, run the command again with --verbose.

I am using a RPi 3B+ with Debain Stretch.

@alexcrichton
Copy link
Contributor

Thanks for the report! I think this'll be an issue for upstream rust-lang/rust, right now we only produce rust-lld on "tier 1" platforms, so we don't distribute a precompiled binary for your platform. You'll need to compile and install LLD manually to use it on ARM

@Rillian-Grant
Copy link
Author

How do I do that?

@alexcrichton
Copy link
Contributor

I believe LLD should have documentation

@Rillian-Grant
Copy link
Author

Thanks

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