Documentation
¶
Index ¶
Constants ¶
View Source
const ( // StubSize is the option stub total size at the runtime tail. StubSize = 64 // StubMagic is the mark of options stub. StubMagic = 0xFC )
View Source
const ( OptOffsetNotEraseInstruction = 1 OptOffsetNotAdjustProtect = 2 OptOffsetNotTrackCurrentThread = 3 )
options offset of the option stub.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// not erase runtime instructions after call Runtime_M.Exit.
NotEraseInstruction bool
// not adjust current memory page protect for erase runtime.
NotAdjustProtect bool
// track current thread for test or debug mode.
TrackCurrentThread bool
}
Options contains options about Gleam-RT.
Click to show internal directories.
Click to hide internal directories.