rust_for_linux: -Zreg-struct-return commandline flag for X86 (#116973)
This commit is contained in:
parent
968e79b0ec
commit
3ee22a4131
1 changed files with 4 additions and 1 deletions
|
@ -544,7 +544,10 @@ impl<'gcc, 'tcx> HasWasmCAbiOpt for CodegenCx<'gcc, 'tcx> {
|
|||
|
||||
impl<'gcc, 'tcx> HasX86AbiOpt for CodegenCx<'gcc, 'tcx> {
|
||||
fn x86_abi_opt(&self) -> X86Abi {
|
||||
X86Abi { regparm: self.tcx.sess.opts.unstable_opts.regparm }
|
||||
X86Abi {
|
||||
regparm: self.tcx.sess.opts.unstable_opts.regparm,
|
||||
reg_struct_return: self.tcx.sess.opts.unstable_opts.reg_struct_return,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue