This commit is contained in:
Filipriec
2026-03-09 11:03:12 +01:00
parent f3e7cbb83a
commit cfea6e031a
5 changed files with 18 additions and 5 deletions

View File

@@ -38,6 +38,7 @@ pub fn build(b: *std.Build) void {
// Provide basic built-in functions
elf.bundle_compiler_rt = true;
elf.link_gc_sections = true;
// Use your custom linker script
elf.setLinkerScript(b.path("layout.ld"));