# test.nim
# empty
# panicoverride.nim
proc panic(s: string) = discard
proc rawoutput(s: string) = discard
md5-db570e1ee7ae94897b7e413f3b68f219
nim c --gc:none --os:standalone --stacktrace:off ~/test.nim
Error: system module needs 'newSeq'
But it works with --deadCodeElim:on. Should --os:standalone or --gc:none imply --deadCodeElim:on?
yeah, there are plans to make --deadCodeElim:on the default and remove the switch altogether.
Why remove the switch? The ability to disable it might come in handy someday.
Why remove the switch? The ability to disable it might come in handy someday.
It's battle-tested to the point the language works better with it than without it.
Closing since deadCodeElim is now always on.
Most helpful comment
yeah, there are plans to make
--deadCodeElim:onthe default and remove the switch altogether.