native test framework
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user