# wasm-linker: seperate linker \-and cpu features · gitcafe/zig

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

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

Visibility: public

Requested revision: 3d1d19f3877190db42544acf9e0ed26784ba82ba

Requested commit: 3d1d19f3877190db42544acf9e0ed26784ba82ba

Commit: 3d1d19f3877190db42544acf9e0ed26784ba82ba

Tree: 71d7f6ac0907474f3bca919863aa41f84afade2e

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm-linker: seperate linker -and cpu features

The list of features a Wasm object/binary file can emit can differ
from the list of cpu features. The reason for this is because the
"target_features" section also contains linker features. An example
of this is the "shared-mem" feature, which is a feature for the linker
and not that of the cpu target as defined by LLVM.

```

## Parents

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

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