# link/wasm: Put decls into the correct segments · gitcafe/zig

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

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

Visibility: public

Requested revision: e32a5ba78b5e42788cba57720ce88cbfd30d434b

Requested commit: e32a5ba78b5e42788cba57720ce88cbfd30d434b

Commit: e32a5ba78b5e42788cba57720ce88cbfd30d434b

Tree: da6d60b9ae93eb592f8330ddefd582ab77a11d32

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
link/wasm: Put decls into the correct segments

Decls will now be put into their respective segment.
e.g. a constant decl will be inserted into the "rodata" segment,
whereas an uninitialized decl will be put in the "bss" segment instead.

```

## Parents

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

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