Skip to content

Commit d433f01

Browse files
committed
chore: link libm for posix systems
1 parent 2ae3e91 commit d433f01

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bindings/nim/nim_code/tests/test_yaml.nim

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Currently libm does not seem to be getting linked in for tests
2+
# CI error was failing to fetch the ceil method when calling num_cpus from
3+
# the rust code.
4+
when defined(posix):
5+
{.passL: "-lm".}
6+
17
# This file was copied and modified from c-kzg
28
import
39
std/[os, sequtils, strutils, streams],

0 commit comments

Comments
 (0)