NoBootstrap disables all host bootstrap steps.
()
| 317 | |
| 318 | // NoBootstrap disables all host bootstrap steps. |
| 319 | func NoBootstrap() ContextBootstrapOption { |
| 320 | return func(o *ContextBootstrapOptions) { |
| 321 | o.loadStdOS = false |
| 322 | o.injectTimers = false |
| 323 | } |
| 324 | } |
| 325 | |
| 326 | // WithBootstrapStdOS toggles std/os module registration in bootstrap. |
| 327 | func WithBootstrapStdOS(enabled bool) ContextBootstrapOption { |
no outgoing calls