- Output into /.build/obj/<platform> by default.

- Output llvm/asm into llvm/<platform> and asm/<platform> by default.
- Don't delete .o files not produced by the compiler.
- Correctly handle in/out when interacting with inout.
This commit is contained in:
Christoffer Lerno
2025-02-22 22:34:26 +01:00
parent 855be92881
commit 3da9f73338
11 changed files with 107 additions and 55 deletions

View File

@@ -175,6 +175,8 @@ fn char[]! load_buffer(String filename, char[] buffer)
}
fn char[]! load(Allocator allocator, String filename) => load_new(filename, allocator);
fn char[]! load_new(String filename, Allocator allocator = allocator::heap())
{
File file = open(filename, "rb")!;