https://github.com/warchant/repro-bazel-win-toolchain-no-platform
https://github.com/warchant/repro-bazel-win-toolchain-no-platform
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/warchant/repro-bazel-win-toolchain-no-platform
- Owner: Warchant
- Created: 2023-02-27T09:24:22.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-27T09:26:06.000Z (over 2 years ago)
- Last Synced: 2025-01-15T08:04:23.090Z (5 months ago)
- Language: Starlark
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
On Linux with bazel 5.3.0 this repo produces following error:
```bash
$ bazel build ...
ERROR: /workspaces/bazel/sample-rule-wrong-os/BUILD:36:20: While resolving toolchains for target //:cc_toolchain_config: Unable to find an execution platform for target platform @local_config_platform//:host from available execution platforms []
ERROR: Analysis of target '//:cc_toolchain_config' failed; build aborted:
INFO: Elapsed time: 0.127s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
```