WIP: Bootstrap loop debugging

- Fixed module flattening in self-hosted compiler (Cli_Compile now unwraps module wrappers)
- buxc2 check now finds functions in module-wrapped files (token.bux: funcCount=6, Main.bux: funcCount=2)
- Added debug prints to trace lexer.bux timeout and check x segfault
- Remaining issues: lexer.bux hangs in self-hosted pipeline, check x segfaults in runtime
This commit is contained in:
2026-06-01 12:23:25 +03:00
parent 8b2179ccf9
commit 55beb23220
4 changed files with 42 additions and 0 deletions
+3
View File
@@ -10,6 +10,9 @@ func Cli_Run(args: *String, argCount: int) -> int;
func Main() -> int {
let count: int = bux_argc();
Print("Main count=");
PrintInt(count);
PrintLine("");
// Allocate array of String pointers
let args: *String = bux_alloc(count as uint * 8) as *String;
var i: int = 0;