diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-12-28 14:41:27 +0100 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-12-28 14:41:27 +0100 |
| commit | 4aab8118a771e37566c0c3b1c40c175ce1e98285 (patch) | |
| tree | 904bafeb49f697ef01d20390e3586378f078916a /src/Module.zig | |
| parent | 7802c26449657b205dcaa47bb6575bb26171c024 (diff) | |
| download | zig-4aab8118a771e37566c0c3b1c40c175ce1e98285.tar.gz zig-4aab8118a771e37566c0c3b1c40c175ce1e98285.zip | |
WebAssembly: don't append `--export` for functions
No longer automatically append the `--export` flag for each exported
function unconditionally. This was essentially a hack to prevent
binary bloat caused by compiler-rt symbols being always included in
the final binary as they were exported and therefore not garbage-
collected. This is no longer needed as we now support the ability to
set the visibility of exports.
This essentially reverts 6d951aff7e32b1b0252d341e66517a9a9ee98a2d
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions
