Skip to content

Commit 7444494

Browse files
Run rustfmt
1 parent 7b649c7 commit 7444494

File tree

1 file changed

+1
-6
lines changed
  • src/librustc_codegen_ssa/back

1 file changed

+1
-6
lines changed

src/librustc_codegen_ssa/back/link.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,12 +1180,7 @@ fn add_pre_link_args(
11801180
}
11811181

11821182
/// 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-
) {
1183+
fn add_link_script(cmd: &mut dyn Linker, sess: &Session, tmpdir: &Path, crate_type: CrateType) {
11891184
match (crate_type, &sess.target.target.options.link_script) {
11901185
(CrateType::Cdylib | CrateType::Executable, Some(script)) => {
11911186
if !sess.target.target.options.linker_is_gnu {

0 commit comments

Comments
 (0)