Document that TinyGo does not run on linux/mips or linux/mipsle hosts

未关闭 适合新手
#6,312 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
62/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
go, markdown
领域
documentation

调研方向

该更改应放在 BUILDING.md 中,那里描述了受支持的主机平台。阅读构建说明中的发布目标以及 make/config.mk 接受的 CROSS 值,使新句子与之保持一致。当 BUILDING.md 明确说明编译器不会在 linux/mips 或 linux/mipsle 主机上构建、发布或测试,并且 linux/mips 和 linux/mipsle 目标的支持保持不变时,即完成。

由索引模型根据 Issue 内容生成。

描述

TinyGo can build programs for linux/mips and linux/mipsle, but the TinyGo compiler itself has never been built, released or tested on a MIPS host. This issue proposes that we state this in BUILDING.md, so that compiler-side code does not need to handle MIPS hosts.

Current status:

  • Release builds are made for linux/amd64, linux/arm and linux/arm64 only.
  • make/config.mk accepts only CROSS=arm-linux-gnueabihf and CROSS=aarch64-linux-gnu.
  • No CI job runs the compiler on a MIPS host.
  • No issue or PR has asked for this. #1075 asked for MIPS as a target.
  • To build LLVM, clang and lld on a 32-bit MIPS host is not practical.

This does not change the linux/mips and linux/mipsle targets.

主要语言
Go
星标
17.8k
派生
1.1k
平均合并
1 天 4 小时
30 天内合并 PR
380

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

tinygo-org/tinygo 的其他 Issue

查看 tinygo-org/tinygo 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。