Skip to content

linked_list 问题追踪:Arceos vs Rust for Linux #1

@zjp-CN

Description

@zjp-CN

something like &mut foo as *mut T as *const T as *mut T is entirely harmless. What is relevant is the initial cast, when a reference is turned to a raw pointer.

src: rust-lang/unsafe-code-guidelines#257

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions