# wasm linker: always passive when importing memory · gitcafe/zig

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

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

Visibility: public

Requested revision: b37ad5110cb66330211e930df1d1093963213c48

Requested commit: b37ad5110cb66330211e930df1d1093963213c48

Commit: b37ad5110cb66330211e930df1d1093963213c48

Tree: 9927c40937719df863caf5eec90ccfab744c4c9e

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
wasm linker: always passive when importing memory

and detect passive inits from Zcu

don't forget to intern function type for __wasm_init_memory

make that function the start function if it is present

don't skip emitting passive data segment data to the binary

```

## Parents

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

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