Add rust basic skeleton

This commit is contained in:
Greg Shuflin
2026-07-01 17:41:16 -07:00
parent ba9e84f7e4
commit 3946da000f
5 changed files with 24 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
/.lake
lean-ffi-experiment-rust/target/
+7
View File
@@ -5,3 +5,10 @@ _default:
[doc: "Build a Lean shared library with the \"shared\" facet"]
build-shared-lib:
lake build LeanFfiExperiment:shared
[doc: "Build the rust executable"]
[working-directory: "lean-ffi-experiment-rust"]
run-rust:
cargo run
+7
View File
@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "lean-ffi-experiment-rust"
version = "0.1.0"
+6
View File
@@ -0,0 +1,6 @@
[package]
name = "lean-ffi-experiment-rust"
version = "0.1.0"
edition = "2024"
[dependencies]
+3
View File
@@ -0,0 +1,3 @@
fn main() {
println!("Going to invoke Lean FFI");
}