Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
os:standalone Error: system module needs: appendString #10978
I tried to compile nimkernel but it failed because of the error above.
I traced down the error and it seems it's located within a template of "/lib/system/indexerrors.nim"
The '&' operator seems not to work but I also didn't expect that.
My workaround-patch (modified indexerrors.nim)
# imported by other modules, unlike helpers.nim which is included template formatErrorIndexBound*[T](i, a, b: T): string = when defined(standalone): "indexOutOfBounds" else: "index " & $i & " not in " & $a & " .. " & $b template formatErrorIndexBound*[T](i, n: T): string = formatErrorIndexBound(i, 0, n)
my cross-compiler setup
my nim compiler setup (devel)