You can do it [like this](https://github.com/nim-lang/threading/blob/49562fa0d393e765823b2ea96ca14fbb9889a566/threading/channels.nim#L86-L87). Change `when` to `if` to do it at runtime (though why not at compile time?).
- Any way to determine the GC at runtime? jasonfi
- Any way to determine the GC at runtime? sekao
