Tracking Issue for std::ffi::c_str module · Issue #112134 · rust-lang/rust (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@clarfonthey

Description

@clarfonthey

Feature gate: #![feature(c_str_module)]

This is a tracking issue for the std::ffi::c_str module.

Public API

This adds {core, alloc, std}::ffi::c_str modules and migrates some existing types into them. Types will still be re-exported in their current places to ensure compatibility.

The following migrations are made:

And these types are also migrated on the std crate as well.

Steps / History

Unresolved Questions

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/api-change-proposals.html
  2. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html