manual: move to correct directory for building rust crates. Closes #1222

release-3
Sebastien Bourdeauducq 2018-12-21 10:37:08 +08:00
parent f301ad814d
commit af1f87833a
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ and the ARTIQ kernels.
$ sudo mkdir /usr/local/rust-or1k
$ sudo chown $USER.$USER /usr/local/rust-or1k
$ make install
$ cd ..
$ libs="core std_unicode alloc"
$ rustc="/usr/local/rust-or1k/bin/rustc --target or1k-unknown-none -C target-feature=+mul,+div,+ffl1,+cmov,+addc -C opt-level=s -g --crate-type rlib -L ."