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 94531cf commit fc88eaeCopy full SHA for fc88eae
compiler/rustc_codegen_ssa/src/back/linker.rs
@@ -1793,7 +1793,15 @@ pub(crate) fn exported_symbols(
1793
if let Some(ref exports) = tcx.sess.target.override_export_symbols {
1794
return exports
1795
.iter()
1796
- .map(|sym| (sym.to_string(), SymbolExportKind::Text /* FIXME */))
+ .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
+ })
1805
.collect();
1806
}
1807
0 commit comments