Play around with options for controlling exported names
This commit is contained in:
1 parent
3946da000f
commit
557454b340
3 files changed
+5
-1
No files matched your search
@@ -1,5 +1,6 @@
|
||||
def hello := "world"
|
||||
|
||||
@[export mycustomstring]
|
||||
def myCustomString := "KJLKJLKJLKJLKJLJLKLKJ"
|
||||
|
||||
structure AST where
|
||||
|
||||
@@ -4,7 +4,8 @@ _default:
|
||||
|
||||
[doc: "Build a Lean shared library with the \"shared\" facet"]
|
||||
build-shared-lib:
|
||||
lake build LeanFfiExperiment:shared
|
||||
#lake build LeanFfiExperiment:shared
|
||||
lake build LeanFfiExperiment
|
||||
|
||||
|
||||
[doc: "Build the rust executable"]
|
||||
|
||||
@@ -4,6 +4,8 @@ defaultTargets = ["lean-ffi-experiment"]
|
||||
|
||||
[[lean_lib]]
|
||||
name = "LeanFfiExperiment"
|
||||
defaultFacets = ["shared"]
|
||||
libName = "ffiexperiment"
|
||||
|
||||
[[lean_exe]]
|
||||
name = "lean-ffi-experiment"
|
||||
|
||||
Reference in new issue
Block a user