aboutsummaryrefslogtreecommitdiff
path: root/src/link.zig
diff options
context:
space:
mode:
authorZach Cheung <zach.cheung@uber.com>2023-03-23 17:16:39 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-04-07 09:09:38 -0400
commit1fdea551b22726783356c5bed90bce63706b550f (patch)
tree22b8bd9b92578d7d03e38be8ece7d29662a640bf /src/link.zig
parent086639630800fc52bd727163e85d174ec1ac1103 (diff)
downloadzig-1fdea551b22726783356c5bed90bce63706b550f.tar.gz
zig-1fdea551b22726783356c5bed90bce63706b550f.zip
add linker -wrap flag
Diffstat (limited to 'src/link.zig')
-rw-r--r--src/link.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/link.zig b/src/link.zig
index 45873fec26..fb0f79f5f2 100644
--- a/src/link.zig
+++ b/src/link.zig
@@ -183,6 +183,7 @@ pub const Options = struct {
wasi_emulated_libs: []const wasi_libc.CRTFile,
lib_dirs: []const []const u8,
rpath_list: []const []const u8,
+ wrap_list: []const []const u8,
/// List of symbols forced as undefined in the symbol table
/// thus forcing their resolution by the linker.