bazelbuild / platforms

Constraint values for specifying platforms and toolchains
Apache License 2.0
108 stars 71 forks source link

How to use the wasm32 CPU target #18

Closed yagehu closed 3 years ago

yagehu commented 3 years ago

12 adds the wasm32 CPU. But when I try to use it in my project, I get:

ERROR: /home/huyage/dev/wasm/wasmbench/platforms/BUILD.bazel:9:9: no such target '@platforms//cpu:wasm32': target 'wasm32' not declared in package 'cpu' defined by /home/huyage/.cache/bazel/_bazel_huyage/82c2da1739c371e7ca0d69f58318b066/external/platforms/cpu/BUILD and referenced by '//platforms:wasm32'

I'm on the latest Bazel version using bazelisk.

aiuto commented 3 years ago

There is not enough information here to say anything. Can you create a small repo.

yagehu commented 3 years ago

I'm not working with Bazel anymore. So I'll close this issue.