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 5e2efb6 commit c353c7dCopy full SHA for c353c7d
compiler/rustc_codegen_ssa/src/back/link.rs
@@ -2089,13 +2089,7 @@ fn add_linked_symbol_object(
2089
// transitively be used and hence need their symbols exported.
2090
let drectve = exported_symbols
2091
.into_iter()
2092
- .map(|(sym, kind)| {
2093
- if *kind == SymbolExportKind::Text {
2094
- format!(" /EXPORT:\"{sym}\"")
2095
- } else {
2096
- format!(" /EXPORT:\"{sym}\",DATA")
2097
- }
2098
- })
+ .map(|(sym, _kind)| format!(" /EXPORT:\"{sym}\""))
2099
.collect::<Vec<_>>()
2100
.join("");
2101
0 commit comments