diff options
| author | Luuk de Gram <luuk@degram.dev> | 2021-12-21 20:10:36 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-12-21 12:38:50 -0800 |
| commit | 4cb2f11693b1bf13770b8ad6a8b8a1e37101a516 (patch) | |
| tree | 5c874f02332d2cefabc66fd5d5d6d6e505ea6599 /src/link.zig | |
| parent | e15a267668bae168f2bba06cc3706c54bc062522 (diff) | |
| download | zig-4cb2f11693b1bf13770b8ad6a8b8a1e37101a516.tar.gz zig-4cb2f11693b1bf13770b8ad6a8b8a1e37101a516.zip | |
wasm-linker: Implement the --export-table and --import-table flags.
This implements the flags for both the linker frontend as well as the self-hosted linker.
Closes #5790
Diffstat (limited to 'src/link.zig')
| -rw-r--r-- | src/link.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/link.zig b/src/link.zig index 70e360d373..464d96ddac 100644 --- a/src/link.zig +++ b/src/link.zig @@ -102,6 +102,8 @@ pub const Options = struct { linker_optimization: u8, bind_global_refs_locally: bool, import_memory: bool, + import_table: bool, + export_table: bool, initial_memory: ?u64, max_memory: ?u64, export_symbol_names: []const []const u8, |
