Просмотр исходного кода

small note on installing rust and setting it up

Lucas Stadler лет назад: 10
Родитель
Сommit
3b517bc721
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      rust/book/README.md

+ 8 - 0
rust/book/README.md

2
2
3
[This book.](http://doc.rust-lang.org/1.0.0-beta/book/)
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
## Compiling statically linked binaries
13
## Compiling statically linked binaries
6
14
7
The following assumes you have a `main.rs` and want to get a statically
15
The following assumes you have a `main.rs` and want to get a statically