Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a programmable switch for backtrace #381

Open
xtexChooser opened this issue Jul 30, 2024 · 0 comments
Open

Add a programmable switch for backtrace #381

xtexChooser opened this issue Jul 30, 2024 · 0 comments

Comments

@xtexChooser
Copy link

Currently, backtrace can only be enabled with "RUST_BACKTRACE" environment variables, while it is unsupported to set environment variables with std::env::set_var on wasm platforms.
There are some other ways to set environment variables on wasm, however sometimes they are impossible, for example, in cloudflare workers, they don't provide a way to set wasm environment variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant