From bc8bf78ea324cb3eb02e3d73c0c516a028ec9215 Mon Sep 17 00:00:00 2001 From: Arnaud Bailly Date: Mon, 23 Sep 2024 10:48:52 +0200 Subject: Started Rust interpreter --- rust/src/main.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 rust/src/main.rs (limited to 'rust/src/main.rs') diff --git a/rust/src/main.rs b/rust/src/main.rs new file mode 100644 index 0000000..e9759d6 --- /dev/null +++ b/rust/src/main.rs @@ -0,0 +1,11 @@ +fn main() { + println!("Hello, world!"); +} + +#[cfg(test)] +mod tests { + #[test] + fn it_works() { + assert_eq!(2 + 2, 4); + } +} -- cgit v1.2.3