diff options
| author | bors <bors@rust-lang.org> | 2021-05-12 08:38:03 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-05-12 08:38:03 +0000 |
| commit | ac923d94f86a6f7c881ecbedcd0a68d7986a35bd (patch) | |
| tree | b6e833aafaa51f98d96634dd6f5657de2a23e9ea /compiler/rustc_codegen_cranelift/src/driver | |
| parent | c1e7e361f7cddd1fe9b3bfef71a6539d2570e4fb (diff) | |
| parent | 163b4801e72a11803a6dcfece2099b11e5a9be76 (diff) | |
| download | rust-ac923d94f86a6f7c881ecbedcd0a68d7986a35bd.tar.gz rust-ac923d94f86a6f7c881ecbedcd0a68d7986a35bd.zip | |
Auto merge of #83610 - bjorn3:driver_cleanup, r=cjgillot
rustc_driver cleanup Best reviewed one commit at a time.
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/driver')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/driver/aot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/driver/aot.rs b/compiler/rustc_codegen_cranelift/src/driver/aot.rs index 9c5cd53d866..e5f06551bb6 100644 --- a/compiler/rustc_codegen_cranelift/src/driver/aot.rs +++ b/compiler/rustc_codegen_cranelift/src/driver/aot.rs @@ -298,7 +298,7 @@ pub(crate) fn run_aot( metadata_module, metadata, windows_subsystem, - linker_info: LinkerInfo::new(tcx), + linker_info: LinkerInfo::new(tcx, crate::target_triple(tcx.sess).to_string()), crate_info: CrateInfo::new(tcx), }, work_products, |
