native test framework

This commit is contained in:
2026-07-17 22:36:17 +02:00
parent cedc63b28b
commit b09787029d
23 changed files with 141197 additions and 139688 deletions
+8
View File
@@ -227,6 +227,7 @@ Function :: struct {
c_abi: bool,
imported: bool,
generated: bool,
test: bool,
file_hidden: bool,
has_body: bool,
variadic: bool,
@@ -276,6 +277,7 @@ Import :: struct {
target: Package_Id,
valid: bool,
used: bool,
test_only: bool,
diagnostic: source.Diagnostic_Id,
}
@@ -310,9 +312,15 @@ Package :: struct {
path: string,
name: symbol.Id,
available: bool,
test: bool,
kind: Package_Kind,
}
Compile_Mode :: enum u8 {
Executable,
Test,
}
Package_Kind :: enum u8 {
Native,
C_Header,