We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca98305 commit a2ecf5bCopy full SHA for a2ecf5b
compiler/rustc_codegen_ssa/src/back/linker.rs
@@ -1134,8 +1134,8 @@ impl<'a> Linker for EmLinker<'a> {
1134
// Preserve names or generate source maps depending on debug info
1135
self.cmd.arg(match self.sess.opts.debuginfo {
1136
DebugInfo::None => "-g0",
1137
- DebugInfo::Limited => "-g3",
1138
- DebugInfo::Full => "-g4",
+ DebugInfo::Limited => "--profiling-funcs",
+ DebugInfo::Full => "-g",
1139
});
1140
}
1141
0 commit comments