start tutorial
This commit is contained in:
4
tutorial/01-rust-hello/task/Cargo.toml
Normal file
4
tutorial/01-rust-hello/task/Cargo.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[package]
|
||||
name = "step01_rust_hello_task"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
9
tutorial/01-rust-hello/task/src/main.rs
Normal file
9
tutorial/01-rust-hello/task/src/main.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
fn main() {
|
||||
// TODO: Replace these strings with your own values.
|
||||
let participant_name = "Your Name";
|
||||
let workshop_title = "Rust on Embedded @ Didacta";
|
||||
|
||||
println!("Hello, {participant_name}!");
|
||||
println!("Welcome to: {workshop_title}");
|
||||
println!("Next step: types, control flow, and ownership.");
|
||||
}
|
||||
Reference in New Issue
Block a user