rust/library/std
Jacob Pratt 0518ecc700
Rollup merge of #123868 - eduardosm:stabilize-slice_ptr_len, r=jhpratt
Stabilize (const_)slice_ptr_len and (const_)slice_ptr_is_empty_nonnull

Stabilized API:

```rust
impl<T> *mut [T] {
    pub const fn len(self) -> usize;
    pub const fn is_empty(self) -> bool;
}

impl<T> *const [T] {
    pub const fn len(self) -> usize;
    pub const fn is_empty(self) -> bool;
}

impl<T> NonNull<[T]> {
    pub const fn is_empty(self) -> bool;
}
```

FCP completed in tracking issue: https://github.com/rust-lang/rust/issues/71146
2024-04-13 00:18:46 -04:00
..
benches also test parts of std 2024-04-07 10:05:57 +02:00
src Rollup merge of #123868 - eduardosm:stabilize-slice_ptr_len, r=jhpratt 2024-04-13 00:18:46 -04:00
tests also test parts of std 2024-04-07 10:05:57 +02:00
build.rs Support for visionOS 2024-03-18 20:45:45 -07:00
Cargo.toml add platform-specific function to get the error number for HermitOS 2024-02-28 23:01:56 +01:00