diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-03-07 15:43:20 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-03-08 14:58:53 -0700 |
| commit | c6160fa3a5c2f55871c2ab2377531c8a4e34a76a (patch) | |
| tree | cbee981048b3a1e0a1c51b3b9292017967f7df07 /src/link.zig | |
| parent | 95fc41b2b433ccfa751c8877ec7edac3b9bffbd6 (diff) | |
| download | zig-c6160fa3a5c2f55871c2ab2377531c8a4e34a76a.tar.gz zig-c6160fa3a5c2f55871c2ab2377531c8a4e34a76a.zip | |
LLVM: add compile unit to debug info
This commit also adds a bunch of bindings for debug info.
Diffstat (limited to 'src/link.zig')
| -rw-r--r-- | src/link.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link.zig b/src/link.zig index 577a78d893..34e2bb8ed8 100644 --- a/src/link.zig +++ b/src/link.zig @@ -72,7 +72,7 @@ pub const Options = struct { object_format: std.Target.ObjectFormat, optimize_mode: std.builtin.Mode, machine_code_model: std.builtin.CodeModel, - root_name: []const u8, + root_name: [:0]const u8, /// Not every Compilation compiles .zig code! For example you could do `zig build-exe foo.o`. module: ?*Module, dynamic_linker: ?[]const u8, |
