This PR fixes a bug where Lake ignored `moreLinkObjs` and `moreLinkLibs` on a `lean_exe`.
9 lines
197 B
Text
9 lines
197 B
Text
@[extern "my_add"]
|
|
opaque myAdd : UInt32 → UInt32 → UInt32
|
|
|
|
@[extern "my_lean_fun"]
|
|
opaque myLeanFun : IO String
|
|
|
|
def main : IO Unit := do
|
|
IO.println (myAdd 1 2)
|
|
IO.println (← myLeanFun)
|