Stream: git-wasmtime

Topic: wasmtime / issue #4554 Update `Config::wasm_backtrace` in...


view this post on Zulip Wasmtime GitHub notifications bot (Jul 29 2022 at 14:14):

alexcrichton opened issue #4554:

With the reimplementation of backtraces in WebAssembly in #4431 there's a few updates to Config which I think would be good to do. For example:

I think that we should deprecate Config::wasm_backtrace with 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 like Config::native_unwind_info which defaults to true and configures whether unwinding information is generated and/or registered with the OS. I think this should still be true by default to assist features like RUST_BACKTRACE or 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.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 29 2022 at 14:15):

alexcrichton labeled issue #4554:

With the reimplementation of backtraces in WebAssembly in #4431 there's a few updates to Config which I think would be good to do. For example:

I think that we should deprecate Config::wasm_backtrace with 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 like Config::native_unwind_info which defaults to true and configures whether unwinding information is generated and/or registered with the OS. I think this should still be true by default to assist features like RUST_BACKTRACE or 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.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 29 2022 at 14:15):

alexcrichton commented on issue #4554:

cc @fitzgen

view this post on Zulip Wasmtime GitHub notifications bot (Aug 08 2022 at 20:54):

fitzgen closed issue #4554:

With the reimplementation of backtraces in WebAssembly in #4431 there's a few updates to Config which I think would be good to do. For example:

I think that we should deprecate Config::wasm_backtrace with 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 like Config::native_unwind_info which defaults to true and configures whether unwinding information is generated and/or registered with the OS. I think this should still be true by default to assist features like RUST_BACKTRACE or 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: Oct 23 2024 at 20:03 UTC