Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rust: return empty slice without using from_raw_parts
As this triggers rustc 1.78 unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed `isize::MAX`
- Loading branch information