Skip to content

safer_ffi::Vec<T> causes unsafe precondition(s) violated: slice::from_raw_parts on Rust version >= 1.78.0 #244

@psengrith

Description

@psengrith

The following panic appear on Rust version >= 1.78.0:

"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"

This panic happened because of the following changes in rust 1.78.0:.

Metadata

Metadata

Assignees

No one assigned

    Labels

    K-bugKind: existing code isn’t behaving as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions