diff options
Diffstat (limited to 'rod/platform.nim')
-rwxr-xr-x | rod/platform.nim | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/rod/platform.nim b/rod/platform.nim index c3a8a2837..4e2240a90 100755 --- a/rod/platform.nim +++ b/rod/platform.nim @@ -184,6 +184,7 @@ var proc setTarget*(o: TSystemOS, c: TSystemCPU) = assert(c != cpuNone) assert(o != osNone) + #echo "new Target: OS: ", o, " CPU: ", c targetCPU = c targetOS = o intSize = cpu[c].intSize div 8 @@ -203,11 +204,6 @@ proc NameToCPU(name: string): TSystemCPU = return i result = cpuNone -#proc nimCPU(): cstring{.importc, noconv.} -#proc nimOS(): cstring{.importc, noconv.} - -#hostCPU = nameToCPU($nimCPU()) -#hostOS = nameToOS($nimOS()) hostCPU = nameToCPU(system.hostCPU) hostOS = nameToOS(system.hostOS) |