You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

如何检查@local_config_platform//:host?Bazel Go工具链匹配问题求助

Bazel Go工具链解析失败求助

报错信息

INFO: ToolchainResolution:     Type @io_bazel_rules_go//go:toolchain: target platform @local_config_platform//:host: Rejected toolchain @go_sdk//:go_linux_amd64-impl; mismatching values: linux, x86_64
INFO: ToolchainResolution:   Type @io_bazel_rules_go//go:toolchain: target platform @local_config_platform//:host: No toolchains found.

环境信息

  • 系统架构:x86_64
  • 操作系统:Linux(PopOS发行版)

已尝试的排查动作

  • 尝试查找用于明确问题的生成约束信息文件,但未找到对应文件
  • 查阅过相关问题讨论,未能解决当前问题

恳请提供有效的排查方向或解决方案。

内容的提问来源于stack exchange,提问作者Kyle

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.01 07:35:16