sizes

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package sizes adapts go/types sizing to the common.Sizes interface, so the target architecture can be injected (real sizes in production, a fixed amd64 sizer in tests).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForArch

func ForArch(goarch string) common.Sizes

ForArch returns deterministic gc sizes for the given GOARCH (e.g. "amd64").

func New

func New(s types.Sizes) common.Sizes

New wraps a go/types.Sizes as a common.Sizes.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL