diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2020-11-03 11:00:04 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2020-11-03 11:00:04 +0100 |
| commit | 216c4ae46352330bc7962f132fe226a7e73ab8fa (patch) | |
| tree | c1d7af49fa1f27f325f090cff3f2d8861972fec9 /compiler/rustc_codegen_cranelift/src/main_shim.rs | |
| parent | a6403b0f04b58a35cb9f3e544b2847ee09bcf3a4 (diff) | |
| parent | 03f01bbe901d60b71cf2c5ec766aef5e532ab79d (diff) | |
| download | rust-216c4ae46352330bc7962f132fe226a7e73ab8fa.tar.gz rust-216c4ae46352330bc7962f132fe226a7e73ab8fa.zip | |
Merge commit '03f01bbe901d60b71cf2c5ec766aef5e532ab79d' into update_cg_clif-2020-11-01
Diffstat (limited to 'compiler/rustc_codegen_cranelift/src/main_shim.rs')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/main_shim.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/main_shim.rs b/compiler/rustc_codegen_cranelift/src/main_shim.rs index db34d89fe2b..10f515e38ea 100644 --- a/compiler/rustc_codegen_cranelift/src/main_shim.rs +++ b/compiler/rustc_codegen_cranelift/src/main_shim.rs @@ -76,7 +76,7 @@ pub(crate) fn maybe_create_entry_wrapper( .unwrap(); let mut ctx = Context::new(); - ctx.func = Function::with_name_signature(ExternalName::user(0, 0), cmain_sig.clone()); + ctx.func = Function::with_name_signature(ExternalName::user(0, 0), cmain_sig); { let mut func_ctx = FunctionBuilderContext::new(); let mut bcx = FunctionBuilder::new(&mut ctx.func, &mut func_ctx); |
