diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-10-20 20:49:05 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-10-20 21:11:16 +0900 |
| commit | b61421e9930f114c25f0af17ffbb07d1ca4189ac (patch) | |
| tree | 32e55058425f9b6790b4b4bc1cd89e1bc57928c6 /internal/rosa/state.go | |
| parent | d42b67f47f4779f86133087ee9bb26219e536de9 (diff) | |
internal/rosa: remove triple from environment
This is cleaner and prepares for cross-compilation support.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/state.go')
| -rw-r--r-- | internal/rosa/state.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/rosa/state.go b/internal/rosa/state.go index 01abf736..6d198d6b 100644 --- a/internal/rosa/state.go +++ b/internal/rosa/state.go @@ -491,6 +491,10 @@ func (s *S) getFrame() azalea.Frame { s.frame.Val = map[unique.Handle[azalea.Ident]]any{ k("unversioned"): Unversioned, + k("hostTriple"): triple(runtime.GOARCH), + k("hostArch"): runtime.GOARCH, + k("hostLinuxArch"): linuxArch(runtime.GOARCH), + k("triple"): s.triple(), k("arch"): s.arch, k("linuxArch"): s.linuxArch(), |
