finish installation and prepare some docs
This commit is contained in:
parent
fea162d4f3
commit
04186190f5
35
README.org
35
README.org
@ -4,5 +4,36 @@
|
|||||||
#+startup: indent
|
#+startup: indent
|
||||||
|
|
||||||
#+link: ch01 https://rust-book.cs.brown.edu/ch01-00-getting-started.html
|
#+link: ch01 https://rust-book.cs.brown.edu/ch01-00-getting-started.html
|
||||||
* Chapter 01
|
* Chapter 01: Installation
|
||||||
Let's start
|
Recommendation is to use ~rustup~ using the command:
|
||||||
|
#+name: install rustup
|
||||||
|
#+begin_src shell
|
||||||
|
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
To confirm it's installed:
|
||||||
|
#+name: confirm rustup installed
|
||||||
|
#+begin_src shell
|
||||||
|
rustup --version
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
#+RESULTS: confirm rustup installed
|
||||||
|
: rustup 1.26.0 (5af9b9484 2023-04-05)
|
||||||
|
** Update
|
||||||
|
To update ~rustup~ and please do regularly
|
||||||
|
#+name: update rustup
|
||||||
|
#+begin_src shell :results output
|
||||||
|
rustup update
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
#+RESULTS: update rustup
|
||||||
|
:
|
||||||
|
: stable-x86_64-unknown-linux-gnu unchanged - rustc 1.76.0 (07dca489a 2024-02-04)
|
||||||
|
:
|
||||||
|
** Documentation
|
||||||
|
~rustup~ comes with documentation, just type
|
||||||
|
#+begin_src shell
|
||||||
|
rustup doc
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
and the browser will open a page with links toward lots of docs.
|
||||||
|
Loading…
Reference in New Issue
Block a user