Преглед на файлове

small note on installing rust and setting it up

Lucas Stadler преди 10 години
родител
ревизия
3b517bc721
променени са 1 файла, в които са добавени 8 реда и са изтрити 0 реда
  1. 8 0
      rust/book/README.md

+ 8 - 0
rust/book/README.md

@ -2,6 +2,14 @@
2 2
3 3
[This book.](http://doc.rust-lang.org/1.0.0-beta/book/)
4 4
5
## Installing rust
6
7
I use the [recently released](http://blog.rust-lang.org/2015/04/03/Rust-1.0-beta.html)
8
beta and installed it with `./install.sh --prefix=$HOME/.local`.
9
Because it's insalled in a non-standard location, `LD_LIBRARY_PATH`
10
needs to be set to include `$HOME/.local/lib`, or otherwise `rustc` will
11
not be able to run.
12
5 13
## Compiling statically linked binaries
6 14
7 15
The following assumes you have a `main.rs` and want to get a statically