lean4-htt/tests/compiler/link_lake.lean
Sebastian Ullrich 3b4b2cc89d
fix: do not dllexport symbols in core static libraries (#3601)
On Windows, we now compile all core `.o`s twice, once with and without
`dllexport`, for use in the shipped dynamic and static libraries,
respectively. On other platforms, we export always as before to avoid
the duplicate work.

---------

Co-authored-by: tydeu <tydeu@hatpress.net>
2024-03-15 11:58:34 +00:00

6 lines
128 B
Text

-- this should be sufficient to trigger linking against Lake's initializer symbols
import Lake
def main : IO Unit :=
return