We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c75478b + a9cf163 commit 4968af0Copy full SHA for 4968af0
compiler/rustc_codegen_ssa/src/back/link.rs
@@ -2352,15 +2352,6 @@ fn add_native_libs_from_crate(
2352
&search_paths.get_or_init(|| archive_search_paths(sess)),
2353
);
2354
} else {
2355
- // HACK/FIXME: Fixup a circular dependency between libgcc and libc
2356
- // with glibc. This logic should be moved to the libc crate.
2357
- if cnum != LOCAL_CRATE
2358
- && sess.target.os == "linux"
2359
- && sess.target.env == "gnu"
2360
- && name == "c"
2361
- {
2362
- cmd.link_staticlib("gcc", false);
2363
- }
2364
cmd.link_staticlib(name, verbatim)
2365
}
2366
0 commit comments