# link.File.Wasm: unify the string tables · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e501cf51a01f6f0ae4326180cdd4274588ceed1d)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: e501cf51a01f6f0ae4326180cdd4274588ceed1d

Requested commit: e501cf51a01f6f0ae4326180cdd4274588ceed1d

Commit: e501cf51a01f6f0ae4326180cdd4274588ceed1d

Tree: 172175693b81ce2b14609fb9d6347487bdc3b926

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
link.File.Wasm: unify the string tables

Before, the wasm struct had a string table, the ZigObject had a string
table, and each Object had a string table.

Now there is just the one. This makes for more efficient use of memory
and simplifies logic, particularly with regards to linker state
serialization.

This commit additionally adds significantly more integer type safety.

```

## Parents

- [bf9978a57a9d939aefb3babcca28f87cb34331b0](https://git.cafe/gitcafe/zig/commit/bf9978a57a9d939aefb3babcca28f87cb34331b0?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/e501cf51a01f6f0ae4326180cdd4274588ceed1d?format=markdown)
