Skip to content

docs(go): document build_addr relative pkg resolution - #85

Merged
raphaelvigee merged 1 commit into
mainfrom
claude/eager-galileo-pnjpad
Jul 31, 2026
Merged

docs(go): document build_addr relative pkg resolution#85
raphaelvigee merged 1 commit into
mainfrom
claude/eager-galileo-pnjpad

Conversation

@raphaelvigee

Copy link
Copy Markdown
Member

Summary

  • heph.go.build_addr(pkg, variant)'s pkg argument now accepts a ./- or ../-relative path, resolved against the calling BUILD file's package (mirroring how relative addresses already work), in addition to an absolute package path.
  • Documents this in website/docs/plugins/go.md (function table + the build-variants usage section, with an example) and its reference twin plugins/heph-go/skills/heph-go/references/go-plugin.md, per the reference-drift rule in this repo's CLAUDE.md.

Triggered by hephbuild/heph@e9fa09b (hephbuild/heph#295).

Test plan

  • Verified the new behavior against crates/model/src/htpkg/pkg.rs::join_rel_checked_pkg on master (dot/dot-dot resolution, escape-the-root error) rather than assuming.
  • Docs build not run in this environment (no build env available here); changes are markdown-only, mirroring existing table/example formatting in the same file.

Generated by Claude Code

heph.go.build_addr's pkg argument now accepts a ./ or ../ path relative
to the calling BUILD file's package (hephbuild/heph#295).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015jVVx4PndzUBvV5MbQLrdh
@github-actions

Copy link
Copy Markdown

⚡ Cloudflare Pages preview

Preview https://323b45e9.hephbuild.pages.dev
Commit 7e3a6de

@raphaelvigee
raphaelvigee merged commit ab813dd into main Jul 31, 2026
3 checks passed
@raphaelvigee
raphaelvigee deleted the claude/eager-galileo-pnjpad branch July 31, 2026 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants