diff options
author | Jacek Sieka <arnetheduck@gmail.com> | 2019-03-03 09:03:28 -0600 |
---|---|---|
committer | Jacek Sieka <arnetheduck@gmail.com> | 2019-03-03 09:03:28 -0600 |
commit | 7edc8bfe14b106fd577c51703c2eefd22c49d738 (patch) | |
tree | f4365624c1aedb92d9b0f7502fa16db03c73ac24 /lib/system | |
parent | 792dfac521ce871019676fa17aed1cf8596d8127 (diff) | |
download | Nim-7edc8bfe14b106fd577c51703c2eefd22c49d738.tar.gz |
add wasm32 platform
Diffstat (limited to 'lib/system')
-rw-r--r-- | lib/system/platforms.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/system/platforms.nim b/lib/system/platforms.nim index 31d2cb01e..80a21cd0b 100644 --- a/lib/system/platforms.nim +++ b/lib/system/platforms.nim @@ -32,6 +32,7 @@ type avr, ## AVR based processor msp430, ## TI MSP430 microcontroller riscv64 ## RISC-V 64-bit processor + wasm32 ## WASM, 32-bit OsPlatform* {.pure.} = enum ## the OS this program will run on. none, dos, windows, os2, linux, morphos, skyos, solaris, @@ -87,5 +88,6 @@ const elif defined(avr): CpuPlatform.avr elif defined(msp430): CpuPlatform.msp430 elif defined(riscv64): CpuPlatform.riscv64 + elif defined(wasm32): CpuPlatform.wasm32 else: CpuPlatform.none ## the CPU this program will run on. |