The cas function for TinyC is disabled for windows in the atomics.nim, in fact it works for windows. https://forum.nim-lang.org/t/3794/1#23666