# wasm-linker: Create separate path for one-shot · gitcafe/zig

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

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

Visibility: public

Requested revision: 41199bba4bae4783634ee52ecd8d111f8f82fd4c

Requested commit: 41199bba4bae4783634ee52ecd8d111f8f82fd4c

Commit: 41199bba4bae4783634ee52ecd8d111f8f82fd4c

Tree: bf9230dc76c78a07a0629113a91a02e9d4571bde

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm-linker: Create separate path for one-shot

When invoking the self-hosted linker using `-fno-LLD` while using the
LLVM backend or invoking it as a linker, we create a seperate path.
This path will link the object file generated by LLVM and the
supplied object files just once, allowing to simplify the
implementation between incremental and regular linking.

```

## Parents

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

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