gc:none works again
This commit is contained in:
parent
beca7ded1b
commit
54fdeb4f76
1 changed files with 1 additions and 1 deletions
|
|
@ -950,7 +950,7 @@ proc genMainProc(m: BModule) =
|
||||||
gBreakpoints.add(m.genFilenames)
|
gBreakpoints.add(m.genFilenames)
|
||||||
|
|
||||||
let initStackBottomCall =
|
let initStackBottomCall =
|
||||||
if platform.targetOS == osStandalone: "".rope
|
if platform.targetOS == osStandalone or gSelectedGC == gcNone: "".rope
|
||||||
else: ropecg(m, "\t#initStackBottomWith((void *)&inner);$N")
|
else: ropecg(m, "\t#initStackBottomWith((void *)&inner);$N")
|
||||||
inc(m.labels)
|
inc(m.labels)
|
||||||
appcg(m, m.s[cfsProcs], PreMainBody, [
|
appcg(m, m.s[cfsProcs], PreMainBody, [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue