diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-11-11 21:58:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-11 21:58:32 +0100 |
| commit | 35225d61f43b74f2ec34244e42227c7b7a6469aa (patch) | |
| tree | a1aaca0088b4b2104019a05a3110974de885790e /compiler/rustc_codegen_llvm/src | |
| parent | 517e8bed9683284b6ca661b6646d374b1be516aa (diff) | |
| parent | e8b10297b5228b7f4645bba45242416f0d86a708 (diff) | |
| download | rust-35225d61f43b74f2ec34244e42227c7b7a6469aa.tar.gz rust-35225d61f43b74f2ec34244e42227c7b7a6469aa.zip | |
Rollup merge of #132820 - bjorn3:default_backend_link_impl, r=jieyouxu
Add a default implementation for CodegenBackend::link As a side effect this should add raw-dylib support to cg_gcc as the default ArchiveBuilderBuilder that is used implements create_dll_import_lib. I haven't tested if the raw-dylib support actually works however.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/lib.rs b/compiler/rustc_codegen_llvm/src/lib.rs index 49e616b5371..3dfb86d422d 100644 --- a/compiler/rustc_codegen_llvm/src/lib.rs +++ b/compiler/rustc_codegen_llvm/src/lib.rs @@ -382,7 +382,7 @@ impl CodegenBackend for LlvmCodegenBackend { // Run the linker on any artifacts that resulted from the LLVM run. // This should produce either a finished executable or library. - link_binary(sess, &LlvmArchiveBuilderBuilder, &codegen_results, outputs) + link_binary(sess, &LlvmArchiveBuilderBuilder, codegen_results, outputs) } } |
