# wasm-linker: Export data symbols as global · gitcafe/zig

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

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

Visibility: public

Requested revision: f95549ddc71f75f3bf15f54f8d03a1a367d0db37

Requested commit: f95549ddc71f75f3bf15f54f8d03a1a367d0db37

Commit: f95549ddc71f75f3bf15f54f8d03a1a367d0db37

Tree: 5d043b4c9df3a85a467f767d9542a4f5cc94ad3b

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm-linker: Export data symbols as global

When a data symbol is required to be exported, we instead generate
a global that will be exported. This global is immutable and contains
the address of the data symbol.

```

## Parents

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

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