Revise platform support information in README (#392)
- commit
- 828401e0a508c122614e9109dece0182b6541397
- author
- TotallyGamerJet · · 2026-01-21 20:19 UTC
- committer
- GitHub · · 2026-01-21 20:19 UTC
- parent
- 6f34d83
- signature
- GPG Unverified
B5690EEEBB952194The key is unknown
1 file · +12 -7
M README.md +12 -7
| @@ -30,8 +30,8 @@ except for float arguments and return values. | |||
| 30 | 30 | ||
| 31 | 31 | Tier 1 platforms are the primary targets officially supported by PureGo. When a new version of PureGo is released, any critical bugs found on Tier 1 platforms are treated as release blockers. The release will be postponed until such issues are resolved. | |
| 32 | 32 | ||
| 33 | - | - **Android**: amd64, arm64 | |
| 34 | - | - **iOS**: amd64, arm64 | |
| 33 | + | - **Android**: amd64<sup>1</sup>, arm64<sup>1</sup> | |
| 34 | + | - **iOS**: amd64<sup>1</sup>, arm64<sup>1</sup> | |
| 35 | 35 | - **Linux**: amd64, arm64 | |
| 36 | 36 | - **macOS**: amd64, arm64 | |
| 37 | 37 | - **Windows**: amd64, arm64 | |
| @@ -40,12 +40,17 @@ Tier 1 platforms are the primary targets officially supported by PureGo. When a | |||
| 40 | 40 | ||
| 41 | 41 | Tier 2 platforms are supported by PureGo on a best-effort basis. Critical bugs on Tier 2 platforms do not block new PureGo releases. However, fixes contributed by external contributors are very welcome and encouraged. | |
| 42 | 42 | ||
| 43 | - | - **Android**: 386, arm | |
| 44 | - | - **FreeBSD**: amd64, arm64 | |
| 45 | - | - **Linux**: 386, arm, loong64, riscv64 | |
| 46 | - | - **Windows**: 386*, arm* | |
| 43 | + | - **Android**: 386<sup>1</sup>, arm<sup>1</sup> | |
| 44 | + | - **FreeBSD**: amd64<sup>2</sup>, arm64<sup>2</sup> | |
| 45 | + | - **Linux**: 386<sup>1</sup>, arm<sup>1</sup>, loong64, riscv64 | |
| 46 | + | - **Windows**: 386<sup>3</sup>, arm<sup>3,4</sup> | |
| 47 | 47 | ||
| 48 | - | `*` These architectures only support `SyscallN` and `NewCallback` | |
| 48 | + | #### Support Notes | |
| 49 | + | ||
| 50 | + | 1. These architectures require CGO_ENABLED=1 to compile | |
| 51 | + | 2. These architectures require the special flag `-gcflags="github.com/ebitengine/purego/internal/fakecgo=-std"` to compile with CGO_ENABLED=0 | |
| 52 | + | 3. These architectures only support `SyscallN` and `NewCallback` | |
| 53 | + | 4. These architectures are no longer supported as of Go 1.26 | |
| 49 | 54 | ||
| 50 | 55 | ## Example | |
| 51 | 56 | ||
| @@ -30,8 +30,8 @@ except for float arguments and return values. | |||||
| 30 | 30 | ||||
| 31 | Tier 1 platforms are the primary targets officially supported by PureGo. When a new version of PureGo is released, any critical bugs found on Tier 1 platforms are treated as release blockers. The release will be postponed until such issues are resolved. | 31 | Tier 1 platforms are the primary targets officially supported by PureGo. When a new version of PureGo is released, any critical bugs found on Tier 1 platforms are treated as release blockers. The release will be postponed until such issues are resolved. | ||
| 32 | 32 | ||||
| 33 | - | - **Android**: amd64, arm64 | 33 | + | - **Android**: amd64<sup>1</sup>, arm64<sup>1</sup> |
| 34 | - | - **iOS**: amd64, arm64 | 34 | + | - **iOS**: amd64<sup>1</sup>, arm64<sup>1</sup> |
| 35 | - **Linux**: amd64, arm64 | 35 | - **Linux**: amd64, arm64 | ||
| 36 | - **macOS**: amd64, arm64 | 36 | - **macOS**: amd64, arm64 | ||
| 37 | - **Windows**: amd64, arm64 | 37 | - **Windows**: amd64, arm64 | ||
| @@ -40,12 +40,17 @@ Tier 1 platforms are the primary targets officially supported by PureGo. When a | |||||
| 40 | 40 | ||||
| 41 | Tier 2 platforms are supported by PureGo on a best-effort basis. Critical bugs on Tier 2 platforms do not block new PureGo releases. However, fixes contributed by external contributors are very welcome and encouraged. | 41 | Tier 2 platforms are supported by PureGo on a best-effort basis. Critical bugs on Tier 2 platforms do not block new PureGo releases. However, fixes contributed by external contributors are very welcome and encouraged. | ||
| 42 | 42 | ||||
| 43 | - | - **Android**: 386, arm | 43 | + | - **Android**: 386<sup>1</sup>, arm<sup>1</sup> |
| 44 | - | - **FreeBSD**: amd64, arm64 | 44 | + | - **FreeBSD**: amd64<sup>2</sup>, arm64<sup>2</sup> |
| 45 | - | - **Linux**: 386, arm, loong64, riscv64 | 45 | + | - **Linux**: 386<sup>1</sup>, arm<sup>1</sup>, loong64, riscv64 |
| 46 | - | - **Windows**: 386*, arm* | 46 | + | - **Windows**: 386<sup>3</sup>, arm<sup>3,4</sup> |
| 47 | 47 | ||||
| 48 | - | `*` These architectures only support `SyscallN` and `NewCallback` | 48 | + | #### Support Notes |
| 49 | + | ||||
| 50 | + | 1. These architectures require CGO_ENABLED=1 to compile | |||
| 51 | + | 2. These architectures require the special flag `-gcflags="github.com/ebitengine/purego/internal/fakecgo=-std"` to compile with CGO_ENABLED=0 | |||
| 52 | + | 3. These architectures only support `SyscallN` and `NewCallback` | |||
| 53 | + | 4. These architectures are no longer supported as of Go 1.26 | |||
| 49 | 54 | ||||
| 50 | ## Example | 55 | ## Example | ||
| 51 | 56 | ||||