Bug 1410148 - Fully re-enable debug info on mac builds. r=gps

--HG--
extra : rebase_source : 44400063c868c9ce83c1310d30c6359e9b0b0759
This commit is contained in:
Mike Hommey 2017-12-28 18:01:50 +09:00
parent 8a6ab5b9ab
commit 66ed1c2e3a

View File

@ -1371,11 +1371,7 @@ def rust_compiler_flags(opt_level_option, debug_rust, debug_symbols,
debug_assertions = False
if debug_symbols:
if host.kernel == 'Linux' and target.kernel == 'Darwin':
# hack to work around dsymutil failing on cross-OSX builds (bug 1410148)
debug_info = '0'
else:
debug_info = '2'
debug_info = '2'
opts = []