-
Notifications
You must be signed in to change notification settings - Fork 28
Description
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.