fix debug symbols

This commit is contained in:
2026-07-10 12:18:11 +10:00
parent fb690237e7
commit 583796c1d6
2 changed files with 10 additions and 2 deletions

View File

@@ -5353,7 +5353,7 @@ ResultType(voidPtr, ErrorMessage) outputToFile(CometCompiler* c, const char* fil
fwrite(&sourceLen, sizeof(size_t), 1, file);
fwrite(c->sourceCode, 1, sourceLen, file);
//fwrite(c->debugInstInfo.pointer, sizeof(uint64_t), c->programIdx, file);
fwrite(c->debugInstInfo.pointer, sizeof(uint64_t), instCount, file);
}
fclose(file);

View File

@@ -1,8 +1,16 @@
import socket
import io
func main() -> int {
socket.Socket s = new socket.Socket(socket.Family.INET, socket.Type.STREAM, 0)
s.connect("https://google.com", 22)
s.connect("example.com", 80)
s.send("GET / HTTP/1.1\r\nHost: example.com\r\n\r\n")
string response = s.readAll()
io.println("Response: %s", response)
s.close()
return 0
}