bazelembedded / bazel-embedded

Tools for embedded/bare-metal development using bazel
https://www.nb.rough.run/tags/bazel/
MIT License
103 stars 31 forks source link

Target 'wasm64' not declared #71

Open nest-don opened 1 year ago

nest-don commented 1 year ago

When building my simple test project as follows:

bazel build //main:test --platforms=@bazel_embedded//platforms:cortex_m0

 no such target '@platforms//cpu:wasm64': target 'wasm32' not declared in package 'cpu'
 no such target '@platforms//cpu:wasm64': target 'wasm64' not declared in package 'cpu'

I had to manually add the 2 cpu to ../external/platforms/cpu/BUILD . Then it compiled.

nathaniel-brough commented 1 year ago

Hmm that's odd, do you mind posting your WORKSPACE?