Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Add unstable C variadic function argument #45

Open
ehuss opened this issue Jun 28, 2019 · 0 comments · May be fixed by #68
Open

Add unstable C variadic function argument #45

ehuss opened this issue Jun 28, 2019 · 0 comments · May be fixed by #68
Labels
grammar Issues with the definition of the rust grammar nightly Nightly-only syntax

Comments

@ehuss
Copy link
Contributor

ehuss commented Jun 28, 2019

I haven't looked closely at this, but it looks like you can name the variadic argument now. I believe this was added in rust-lang/rust#57760.

unsafe extern "C" fn f(n: usize, mut args: ...) {}
@ehuss ehuss added grammar Issues with the definition of the rust grammar nightly Nightly-only syntax labels Jun 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
grammar Issues with the definition of the rust grammar nightly Nightly-only syntax
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant