Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion plugins/heph-expert/skills/heph/references/authoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Available in every BUILD file; use it to vary targets by OS/arch.
| `heph.core.arch()` | normalized arch | `amd64`, `arm64` |
| `heph.core.os_raw()` | host OS identifier | `macos`, `linux` |
| `heph.core.arch_raw()` | host arch identifier | `x86_64`, `aarch64` |
| `heph.core.pkg()` | current package path | `//tools/build` |
| `heph.core.pkg()` | current package path | `tools/build` |

Normalized names match container-registry / distribution conventions; use the
`*_raw()` forms when a tool or URL expects the host's exact identifiers.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/plugins/buildfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ host platform so targets can vary by operating system or CPU architecture.
| `heph.core.arch()` | normalized architecture | `"amd64"`, `"arm64"` |
| `heph.core.os_raw()` | host OS identifier | `"macos"`, `"linux"` |
| `heph.core.arch_raw()` | host architecture identifier | `"x86_64"`, `"aarch64"` |
| `heph.core.pkg()` | current package path | `"//tools/build"` |
| `heph.core.pkg()` | current package path | `"tools/build"` |

`heph.core.os()` and `heph.core.arch()` return normalized names that match
the conventions used by container registries and most package distribution
Expand Down
Loading