summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
authorArnaud Bailly <arnaud.bailly@iohk.io>2024-09-23 10:48:52 +0200
committerArnaud Bailly <arnaud.bailly@iohk.io>2024-09-23 10:48:52 +0200
commitbc8bf78ea324cb3eb02e3d73c0c516a028ec9215 (patch)
tree4f249c0a4c72b9a86e4b2061b25f1143ade52882 /rust/src
parent78e1255d350920c33ebb3469ad3eb95b9c4b0fd4 (diff)
downloadlambda-nantes-bc8bf78ea324cb3eb02e3d73c0c516a028ec9215.tar.gz
Started Rust interpreter
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/main.rs11
1 files changed, 11 insertions, 0 deletions
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);
+ }
+}