Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
/ druntime Public archive

Comments

many Standard C declarations are @safe#3005

Closed
WalterBright wants to merge 1 commit intodlang:masterfrom
WalterBright:stdc-safe
Closed

many Standard C declarations are @safe#3005
WalterBright wants to merge 1 commit intodlang:masterfrom
WalterBright:stdc-safe

Conversation

@WalterBright
Copy link
Member

No description provided.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + druntime#3005"

Copy link
Member

@schveiguy schveiguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. A function that is technically safe but not verified by the compiler is the definition of trusted code. If anything, these should be @trusted or @system.

I approve of the @system markings, but reject all the movement of @trusted to @safe.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants