c_variadic: use Clone instead of LLVM va_copy
This commit is contained in:
parent
b86553f808
commit
0b71ff60f8
1 changed files with 1 additions and 1 deletions
|
|
@ -1506,7 +1506,7 @@ fn codegen_regular_intrinsic_call<'tcx>(
|
|||
}
|
||||
|
||||
// FIXME implement variadics in cranelift
|
||||
sym::va_copy | sym::va_arg | sym::va_end => {
|
||||
sym::va_arg | sym::va_end => {
|
||||
fx.tcx.dcx().span_fatal(
|
||||
source_info.span,
|
||||
"Defining variadic functions is not yet supported by Cranelift",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue