parser: forbid unsafe code

This way, can avoid relying on a sanitizer when fuzzing. For now, we only allow unsafe code in a few specific cases in the lexer.
This commit is contained in:
Guillem L. Jara
2026-05-02 15:34:32 +02:00
parent 6acae173c8
commit 9670302115
+1
View File
@@ -2,6 +2,7 @@
//
// For the full copyright and license information, please view the LICENSE
// files that was distributed with this source code.
#![forbid(unsafe_code)]
mod ast;
mod diagnostics;