Skip to content

better handle strict provenance when it's stabilized #1136

@kkysen

Description

@kkysen

#![feature(strict_provenance)] should be stabilized soon (rust-lang/rust#130350), and there are places where we can handle things better than provenance exposing as casts. One such place is #1134 (review), where a bool to ptr cast is always an invalid ptr, and so we know it's non-provenance preserving.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions