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 7b649c7 commit 7444494Copy full SHA for 7444494
src/librustc_codegen_ssa/back/link.rs
@@ -1180,12 +1180,7 @@ fn add_pre_link_args(
1180
}
1181
1182
/// Add a link script embedded in the target, if applicable.
1183
-fn add_link_script(
1184
- cmd: &mut dyn Linker,
1185
- sess: &Session,
1186
- tmpdir: &Path,
1187
- crate_type: CrateType,
1188
-) {
+fn add_link_script(cmd: &mut dyn Linker, sess: &Session, tmpdir: &Path, crate_type: CrateType) {
1189
match (crate_type, &sess.target.target.options.link_script) {
1190
(CrateType::Cdylib | CrateType::Executable, Some(script)) => {
1191
if !sess.target.target.options.linker_is_gnu {
0 commit comments