alexcrichton opened issue #4554:
With the reimplementation of backtraces in WebAssembly in #4431 there's a few updates to
Configwhich I think would be good to do. For example:
Config::wasm_backtraceshouldn't be needed any longer in theory. That being said we may wish to leave it around at least temporarily in case anyone runs into issues with fp-based unwinding.- Emission of native debug information (e.g.
.eh_frameand.xdata/.pdata) is now separable from wasm backtraces.- Registration of
.eh_frameand native information on module load time is also separable from wasm backtraces.I think that we should deprecate
Config::wasm_backtracewith a message saying "it will always be enabled in the future, if that causes issues let us know". Additionally I think we can add something likeConfig::native_unwind_infowhich defaults totrueand configures whether unwinding information is generated and/or registered with the OS. I think this should still betrueby default to assist features likeRUST_BACKTRACEor anyone else who reads that registered information, but the documentation for this config can indicate that disabling has no impact on Wasmtime itself in terms of features and functionality provided.
alexcrichton labeled issue #4554:
With the reimplementation of backtraces in WebAssembly in #4431 there's a few updates to
Configwhich I think would be good to do. For example:
Config::wasm_backtraceshouldn't be needed any longer in theory. That being said we may wish to leave it around at least temporarily in case anyone runs into issues with fp-based unwinding.- Emission of native debug information (e.g.
.eh_frameand.xdata/.pdata) is now separable from wasm backtraces.- Registration of
.eh_frameand native information on module load time is also separable from wasm backtraces.I think that we should deprecate
Config::wasm_backtracewith a message saying "it will always be enabled in the future, if that causes issues let us know". Additionally I think we can add something likeConfig::native_unwind_infowhich defaults totrueand configures whether unwinding information is generated and/or registered with the OS. I think this should still betrueby default to assist features likeRUST_BACKTRACEor anyone else who reads that registered information, but the documentation for this config can indicate that disabling has no impact on Wasmtime itself in terms of features and functionality provided.
alexcrichton commented on issue #4554:
cc @fitzgen
fitzgen closed issue #4554:
With the reimplementation of backtraces in WebAssembly in #4431 there's a few updates to
Configwhich I think would be good to do. For example:
Config::wasm_backtraceshouldn't be needed any longer in theory. That being said we may wish to leave it around at least temporarily in case anyone runs into issues with fp-based unwinding.- Emission of native debug information (e.g.
.eh_frameand.xdata/.pdata) is now separable from wasm backtraces.- Registration of
.eh_frameand native information on module load time is also separable from wasm backtraces.I think that we should deprecate
Config::wasm_backtracewith a message saying "it will always be enabled in the future, if that causes issues let us know". Additionally I think we can add something likeConfig::native_unwind_infowhich defaults totrueand configures whether unwinding information is generated and/or registered with the OS. I think this should still betrueby default to assist features likeRUST_BACKTRACEor anyone else who reads that registered information, but the documentation for this config can indicate that disabling has no impact on Wasmtime itself in terms of features and functionality provided.
Last updated: Dec 13 2025 at 19:03 UTC