added hello world demo

This commit is contained in:
Jay Christy
2023-10-19 13:10:09 -04:00
parent 879c40f0f8
commit 655b58252c
3 changed files with 15 additions and 0 deletions

View File

@@ -25,5 +25,9 @@ color-eyre = "0.6.2"
name = "xr" name = "xr"
path = "examples/xr.rs" path = "examples/xr.rs"
[[example]]
name = "demo"
path = "examples/demo/src/main.rs"
[profile.release] [profile.release]
debug = true debug = true

8
examples/demo/Cargo.toml Normal file
View File

@@ -0,0 +1,8 @@
[package]
name = "demo"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

View File

@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}