about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src
diff options
context:
space:
mode:
authorTrevor Gross <tmgross@umich.edu>2024-04-08 22:38:59 -0400
committerTrevor Gross <tmgross@umich.edu>2024-04-08 22:38:59 -0400
commit0ef49fe35d14bacaab14658cd8a601dae5d5f415 (patch)
treef65ce7ec0bd747ad141a95f0e82b8abf3b134174 /compiler/rustc_mir_transform/src
parentb234e449443a49ab19ef6b712bf56cc65927d98f (diff)
downloadrust-0ef49fe35d14bacaab14658cd8a601dae5d5f415.tar.gz
rust-0ef49fe35d14bacaab14658cd8a601dae5d5f415.zip
Stabilize `cstr_count_bytes`
Newly stable API:

```rust
impl CStr {
    pub fn count_bytes(&self) -> usize;
}
```

Const stabilization has not yet been decided, so that will continue to be
gated under <https://github.com/rust-lang/rust/issues/113219>.

Fixes: <https://github.com/rust-lang/rust/issues/114441>
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions