diff options
| author | msizanoen1 <qtmlabs@protonmail.com> | 2020-01-21 21:52:19 +0700 |
|---|---|---|
| committer | msizanoen1 <qtmlabs@protonmail.com> | 2020-02-04 11:55:31 +0700 |
| commit | e5901641755dfd2e758c7e855b82ee0bcd8b29c0 (patch) | |
| tree | 927a9318a7e766eaa974ca2fe1181a55a0b29c13 /src/librustc | |
| parent | 0d34a8772251b3f9d4dd05c81d9531d455a14fc2 (diff) | |
Implement proper C ABI lowering for RISC-V
Diffstat (limited to 'src/librustc')
| -rw-r--r-- | src/librustc/ty/layout.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc/ty/layout.rs b/src/librustc/ty/layout.rs index bda42db40b0..c70473b667e 100644 --- a/src/librustc/ty/layout.rs +++ b/src/librustc/ty/layout.rs @@ -2650,6 +2650,7 @@ where .map(|(i, ty)| arg_of(ty, Some(i))) .collect(), c_variadic: sig.c_variadic, + fixed_count: inputs.len(), conv, }; fn_abi.adjust_for_abi(cx, sig.abi); |
