SetDebugInfo configures whether dwarf debug information for JIT code is enabled
(enabled bool)
| 58 | |
| 59 | // SetDebugInfo configures whether dwarf debug information for JIT code is enabled |
| 60 | func (cfg *Config) SetDebugInfo(enabled bool) { |
| 61 | C.wasmtime_config_debug_info_set(cfg.ptr(), C.bool(enabled)) |
| 62 | runtime.KeepAlive(cfg) |
| 63 | } |
| 64 | |
| 65 | // SetMaxWasmStack configures the maximum stack size, in bytes, that JIT code can use. |
| 66 | // The amount of stack space that wasm takes is always relative to the first invocation of wasm on the stack. |