lean4-htt/tests/lean/run/libuv.lean
2024-08-12 12:33:24 +00:00

11 lines
322 B
Text

import Lean.Runtime
-- Non-emscripten build: expect the major version of LibUV
/-- info: 1 -/
#guard_msgs in
#eval if !System.Platform.isEmscripten then Lean.libUVVersion >>> 16 else 1
-- Emscripten build: expect 0
/-- info: 0 -/
#guard_msgs in
#eval if System.Platform.isEmscripten then Lean.libUVVersion >>> 16 else 0