c_variadic: use Clone instead of LLVM va_copy

This commit is contained in:
Folkert de Vries 2025-12-27 17:17:54 +01:00
parent b86553f808
commit 0b71ff60f8

View file

@ -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",