Documentation
¶
Overview ¶
Package projectbuiltins is a reserved, empty-by-default package into which the local Rye builder (bin/l.rye) drops a project's own Go builtins.
In a normal build (without the "proj_builtins" build tag) Register is a no-op, so the package has no effect and the binary builds exactly as before.
When a project supplies a project_builtins/ directory, l.rye copies its *.go files here and builds with the "proj_builtins" tag, which selects register_on.go instead of this file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(ps *env.ProgramState)
Register registers project-specific builtins into the program state. This no-op implementation is used in normal builds.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.