You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a regression noticed in Nim-1.4.8, using the command line:
-d:release --debugger:native works as expected and generates -g3 -Og -O3 --debugger:native -d:release doesn't generate debugging info, producing only -O3
The only downside is that people with those options in local config files (instead of on the command line) will get unexpected debugging info and verbose stack traces.
The text was updated successfully, but these errors were encountered:
This is a regression noticed in Nim-1.4.8, using the command line:
-d:release --debugger:native
works as expected and generates-g3 -Og -O3
--debugger:native -d:release
doesn't generate debugging info, producing only-O3
@xflywind found the PR causing this regression: #18051
An acceptable fix would be to not exclude any flag from
conf.globalOptions
in here:Nim/compiler/commands.nim
Lines 489 to 496 in b74b914
The only downside is that people with those options in local config files (instead of on the command line) will get unexpected debugging info and verbose stack traces.
The text was updated successfully, but these errors were encountered: