Segfault when using C compatible variadic functions #58980
Labels
A-FFI
Area: Foreign function interface (FFI)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This example prints
test 1 2 3
when compiled and run in debug mode:Compiling and running in release mode causes a segfault in
glibc/stdio-common/vfprintf.c:1286
becauseap
is nul. Enabling debug info in release mode viaCargo.toml
makes the segfault go away.Meta
The text was updated successfully, but these errors were encountered: