# wasm linker: fix global imports in objects · gitcafe/zig

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

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

Visibility: public

Requested revision: a72e7384aae81d012f017c837df8c16048bdea4e

Requested commit: a72e7384aae81d012f017c837df8c16048bdea4e

Commit: a72e7384aae81d012f017c837df8c16048bdea4e

Tree: ce3daf169efab9f124fa86c2870be5eda5b6b50b

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
wasm linker: fix global imports in objects

they need to reference a local index until the object parsing is
complete and also need to check mutability and type matching

```

## Parents

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

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