Add assert to disallow -no-crt when importing core:c/libc

This commit is contained in:
gingerBill
2023-11-23 01:20:19 +00:00
parent 34065865a0
commit 3baf8d92c3

View File

@@ -2,6 +2,8 @@ package libc
import "core:c"
#assert(!ODIN_NO_CRT, `"core:c/libc" cannot be imported when '-no-crt' is used`)
char :: c.char // assuming -funsigned-char
schar :: c.schar