Skip to content
Snippets Groups Projects
Commit e44a48de authored by orestis.malaspin's avatar orestis.malaspin
Browse files

ajout mineur installation

parent 014e167a
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -50,7 +50,7 @@ rustc --help
- Dans un fichier `hello_world.rs`{.bash}.
<pre><code class=lang-rust" data-trim="hljs rust">
<pre><code data-trim="hljs rust" class="lang-rust">
fn main() { // présent dans tout programme Rust
println!("Hello, World!"); // macro d'affichage
}
......@@ -96,6 +96,8 @@ $ cargo build --release # compilation avec optimisations
Finished release [optimized] target(s) in 0.35s
</code></pre>
:::::::::::::: {.columns}
::: {.column width="50%"}
- Le fichier `Cargo.toml`{.sh}:
<pre><code data-trim="hljs sh">
......@@ -106,3 +108,16 @@ authors = ["Your Name you@example.com"]
[dependencies]
</code></pre>
:::
::: {.column width="50%"}
- Le fichier `Cargo.lock`{.sh}:
<pre><code data-trim="hljs sh">
[[package]]
name = "hello_world"
version = "0.1.0"
</code></pre>
:::
::::::::::::::
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment