va_list-rs icon indicating copy to clipboard operation
va_list-rs copied to clipboard

Discussion: The va_list crate in a post RFC 2137 world

Open dlrobertson opened this issue 6 years ago • 1 comments

rust-lang/rust#49878 should essentially implement the same features available in this crate. This could probably be documented somewhere in this crates documentation? That being said, I think that after rust-lang/rust#49878 is merged and even after RFC 2137 is fully implemented, this crate is still valuable for the following cases.

  • core::ffi::VaList will only be available in nightly with the c_variadic feature. Crates that need to compile on stable will still need this crate.
  • This code has been well tested, while rust-lang/rust#49878 is still highly experimental.
  • There may be new operating systems or architectures that are not supported in rustc, that could be easily added here, but may not make sense to add to libcore.

dlrobertson avatar Nov 12 '18 19:11 dlrobertson

This crate should still stay useful for people stuck on older rust versions, but once the builtin version is available I'd suggest using that over this crate if possible (as that'd support new platforms for free)

thepowersgang avatar Apr 09 '22 09:04 thepowersgang