Add rust basic skeleton
This commit is contained in:
@@ -1 +1,2 @@
|
||||
/.lake
|
||||
lean-ffi-experiment-rust/target/
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Generated
+7
@@ -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"
|
||||
@@ -0,0 +1,6 @@
|
||||
[package]
|
||||
name = "lean-ffi-experiment-rust"
|
||||
version = "0.1.0"
|
||||
edition = "2024"
|
||||
|
||||
[dependencies]
|
||||
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("Going to invoke Lean FFI");
|
||||
}
|
||||
Reference in New Issue
Block a user