Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Commit

Permalink
Bundle Compiler RT (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
gatesn authored Mar 4, 2024
1 parent e4e829f commit e1bc9e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ pub fn build(b: *std.Build) void {
.optimize = optimize,
.root_source_file = .{ .path = "src/lib.zig" },
});
lib.bundle_compiler_rt = true;
lib.pie = true;
const lib_install = b.addInstallArtifact(lib, .{});

// Ideally we would use dlib.getEmittedH(), but https://github.com/ziglang/zig/issues/18497
Expand Down

0 comments on commit e1bc9e3

Please sign in to comment.