mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 22:12:15 +00:00
Rollup merge of #98150 - hoodmane:emscripten-g4, r=sbc100
Emscripten target: replace -g4 with -g, and -g3 with --profiling-funcs Emscripten prints the following warning: ``` emcc: warning: please replace -g4 with -gsource-map [-Wdeprecated] ``` `@sbc100`
This commit is contained in:
commit
d9559f4514
@ -1134,8 +1134,8 @@ impl<'a> Linker for EmLinker<'a> {
|
||||
// Preserve names or generate source maps depending on debug info
|
||||
self.cmd.arg(match self.sess.opts.debuginfo {
|
||||
DebugInfo::None => "-g0",
|
||||
DebugInfo::Limited => "-g3",
|
||||
DebugInfo::Full => "-g4",
|
||||
DebugInfo::Limited => "--profiling-funcs",
|
||||
DebugInfo::Full => "-g",
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user