Skip to content

Commit 0cf89b5

Browse files
compiler: Use make_indirect for the wasm ABI
This is ignored by LLVM, but is still incorrect.
1 parent 7fc70f8 commit 0cf89b5

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_target/src/abi/call

1 file changed

+1
-1
lines changed

compiler/rustc_target/src/abi/call/wasm.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ where
4040
}
4141
arg.extend_integer_width_to(32);
4242
if arg.layout.is_aggregate() && !unwrap_trivial_aggregate(cx, arg) {
43-
arg.make_indirect_byval(None);
43+
arg.make_indirect();
4444
}
4545
}
4646

0 commit comments

Comments
 (0)