Skip to content

Test for other "unsafe attributes" #132

Closed
@workingjubilee

Description

@workingjubilee
Contributor

Some attributes are implicitly unsafe, without containing the unsafe token in Rust. I will refer to these as "unsafe attributes". We probably need to replicate the work in #128 to make sure we detect these.

Activity

thomcc

thomcc commented on Apr 4, 2023

@thomcc
Contributor

#[link] is definitely something we need to forbid, but thankfully plrustc's lint against extern blocks does so. Closing as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @thomcc@workingjubilee

        Issue actions

          Test for other "unsafe attributes" · Issue #132 · tcdi/plrust