Skip to content

Unsafe rules all over #241

@rcseacord

Description

@rcseacord

I think there are going to be a ton of rules that involve unsafe code. I'm working on one now in the Values chapter.

I think we should keep these rules in the appropriate chapters based on, for example, where the undefined behavior is defined in the FLS.

I think the unsafe chapter should just deal with specific issues surrounding Unsafe that are raised in the Unsafe chapter of the FLS.

We can then tag all of these with an "unsafe" tag.

For the first edition, we'll probably have a rule in Unsafe that says "don't use Unsafe code" which will be advisory. These more specific unsafe rules will be required or mandatory, so this will be a layering thing.
Even if the "don't use Unsafe code" is required, a user could still provide a deviation so it is worth it to have the layered rules.

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