This commit is contained in:
Araq
2017-10-16 12:45:43 +02:00
parent 4a7266e1c1
commit b219fc74ad
2 changed files with 4 additions and 4 deletions

View File

@@ -398,7 +398,7 @@ template afterThreadRuns() =
threadDestructionHandlers[i]()
when not defined(boehmgc) and not hasSharedHeap and not defined(gogc) and not defined(gcRegions):
proc deallocOsPages()
proc deallocOsPages() {.rtl.}
when defined(boehmgc):
type GCStackBaseProc = proc(sb: pointer, t: pointer) {.noconv.}

View File

@@ -83,9 +83,9 @@ proc runBasicDLLTest(c, r: var TResults, cat: Category, options: string) =
""
testSpec c, makeTest("lib/nimrtl.nim",
options & " --app:lib -d:createNimRtl", cat)
options & " --app:lib -d:createNimRtl --threads:on", cat)
testSpec c, makeTest("tests/dll/server.nim",
options & " --app:lib -d:useNimRtl" & rpath, cat)
options & " --app:lib -d:useNimRtl --threads:on" & rpath, cat)
when defined(Windows):
@@ -101,7 +101,7 @@ proc runBasicDLLTest(c, r: var TResults, cat: Category, options: string) =
var nimrtlDll = DynlibFormat % "nimrtl"
safeCopyFile("lib" / nimrtlDll, "tests/dll" / nimrtlDll)
testSpec r, makeTest("tests/dll/client.nim", options & " -d:useNimRtl" & rpath,
testSpec r, makeTest("tests/dll/client.nim", options & " -d:useNimRtl --threads:on" & rpath,
cat, actionRun)
proc dllTests(r: var TResults, cat: Category, options: string) =