2 ms·
To be clear, Rust itself does not have varargs, but can handle them with the C ABI.
by steveklabnik 10y ago
To be clear, Rust itself does not have varargs, but can handle them with the C ABI.
- Manishearth 10y agoWell, we can call into vararg functions, but not define them. Since vararg functions have the same ABI as the function with only one of the vararg one idea I've always had is to write a macro that lets you write a one-arg function and have it desugar via asm hax.