Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fc88eae

Browse files
committed
Elaborate on fixme
1 parent 94531cf commit fc88eae

File tree

1 file changed

+9
-1
lines changed
  • compiler/rustc_codegen_ssa/src/back

1 file changed

+9
-1
lines changed

‎compiler/rustc_codegen_ssa/src/back/linker.rs‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1793,7 +1793,15 @@ pub(crate) fn exported_symbols(
17931793
if let Some(ref exports) = tcx.sess.target.override_export_symbols {
17941794
return exports
17951795
.iter()
1796-
.map(|sym| (sym.to_string(), SymbolExportKind::Text /* FIXME */))
1796+
.map(|sym| {
1797+
(
1798+
sym.to_string(),
1799+
// FIXME use the correct export kind for this symbol. override_export_symbols
1800+
// can't directly specify the SymbolExportKind as it is defined in rustc_middle
1801+
// which rustc_target can't depend on.
1802+
SymbolExportKind::Text,
1803+
)
1804+
})
17971805
.collect();
17981806
}
17991807

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /