That may work too.
But currently I consider replacing compileOption("gc", "arc") with
defined(gcDestructors) because I have seen use of defined(gcDestructors) in Nim
stdlib code. I am not sure if that is best -- all the options are a bit
confusing.
