MCPcopy Create free account
hub / github.com/buke/quickjs-go / WithStripInfo

Function WithStripInfo

runtime.go:490–494  ·  view source on GitHub ↗

WithStripInfo is retained for backward compatibility only. Deprecated: quickjs-ng does not expose a runtime-level strip-info API, so this option is a no-op.

(strip int)

Source from the content-addressed store, hash-verified

488// WithStripInfo is retained for backward compatibility only.
489// Deprecated: quickjs-ng does not expose a runtime-level strip-info API, so this option is a no-op.
490func WithStripInfo(strip int) Option {
491 return func(o *Options) {
492 o.strip = strip
493 }
494}
495
496// WithOwnerGoroutineCheck enables/disables owner-goroutine checks.
497// WARNING: disabling this check is unsafe and may cause data races or memory corruption.

Callers 2

TestRuntimeBasicsFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestRuntimeBasicsFunction · 0.68