use -rdynamic only if host os is not windows

pull/1772/head
unknown-v 2019-08-28 10:56:07 +02:00 committed by Alexander Medvednikov
parent 5124eae47d
commit fed9f01b2d
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ fn (v mut V) cc() {
a << '-g'
}
if v.pref.is_debug {
if v.pref.is_debug && os.user_os() != 'windows'{
a << ' -rdynamic ' // needed for nicer symbolic backtraces
}