Implement Safer D (#17044)

This commit is contained in:
Walter Bright 2024-11-27 22:59:29 -08:00 committed by GitHub
parent 519d388498
commit 347c883586
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 48 additions and 6 deletions

3
changelog/dmd.safer.dd Normal file
View file

@ -0,0 +1,3 @@
This adds `-preview=safer` which enables safety checking on un-attributed functions.
For more information, see: [safer.md](https://github.com/WalterBright/documents/blob/38f0a846726b571f8108f6e63e5e217b91421c86/safer.md)