Skip to content

Commit 37f6be7

Browse files
committed
Getting started: Updates
1 parent 3836cf1 commit 37f6be7

File tree

1 file changed

+18
-23
lines changed

1 file changed

+18
-23
lines changed

sections/getting_started.tex

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,25 @@ \section{Getting Started}
22

33
\subsection{Installing Rust}
44

5-
\begin{frame}[c]{Rustup.rs}
6-
\begin{quote}
7-
«rustup is an installer for \\
8-
the systems programming language Rust» \\
9-
\vspace{0.5em}
10-
{\normalfont \small --- www.rustup.rs}
11-
\end{quote}
12-
\end{frame}
5+
\begin{frame}[fragile]{Rustup}
6+
The best way to install and update the Rust toolchain is rustup
7+
(\url{https://rustup.rs/}).
8+
9+
It makes it easy to:
10+
11+
\begin{itemize}
12+
\item Install different Rust versions
13+
\item Install cross compilation toolchains
14+
\end{itemize}
15+
16+
\vspace{1em}
17+
18+
To download the installer script:
1319

14-
\begin{frame}[fragile]{Rustup.rs}
15-
\begin{itemize}
16-
\item Official installation method by now
17-
\item Makes it easy to:
18-
\begin{itemize}
19-
\item Install different Rust versions
20-
\item Install cross compilation toolchains
21-
\end{itemize}
22-
\item Written in Rust itself
23-
\pause\item Installing is easy:
2420
\begin{minted}{sh}
25-
$ curl https://sh.rustup.rs -sSf | sh
21+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
22+
-o rustup.sh
2623
\end{minted}
27-
\pause Obviously you shouldn't do that ;)
28-
\item Alternatively you can use \url{https://play.rust-lang.org/}
29-
\end{itemize}
3024
\end{frame}
3125

3226
\subsection{Cargo, Rust's Package Manager}
@@ -36,6 +30,7 @@ \subsection{Cargo, Rust's Package Manager}
3630
\item Fetches and builds your project’s dependencies
3731
\item Invokes rustc or another build tool with the correct parameters
3832
to build your project
33+
\item Has built-in support for cross-compilation
3934
\end{itemize}
4035
\end{frame}
4136
\begin{frame}[fragile]{Cargo -- Create a New Project}
@@ -101,7 +96,7 @@ \subsection{Cargo, Rust's Package Manager}
10196
\end{frame}
10297
10398
\begin{frame}[fragile,c]{Cargo -- Testing}
104-
Rust has integrated unit testing\footnote{\url{https://doc.rust-lang.org/book/testing.html}}
99+
Rust has integrated unit testing\footnote{\url{https://doc.rust-lang.org/book/ch11-00-testing.html}}
105100
106101
\begin{minted}{rust}
107102
#[test]

0 commit comments

Comments
 (0)