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

fix(wrt/wasmtime) do not override 'WASMTIME_BACKTRACE_DETAILS' if specified #388

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

thibaultcha
Copy link
Member

With backtraces on, WASMTIME_BACKTRACE_DETAILS is forcefully enabled.

With backtraces off (default), WASMTIME_BACKTRACE_DETAILS still defaults to 0 but can be overridden if specified in the env directive.

This commit also ensures the env directives in TestWasm.pm are actually injected, although it disables the injection since no environment variable is presently injected.

…cified

With `backtraces on`, `WASMTIME_BACKTRACE_DETAILS` is forcefully
enabled.

With `backtraces off` (default), `WASMTIME_BACKTRACE_DETAILS` still
defaults to `0` but can be overridden if specified in the `env`
directive.

This commit also ensures the `env` directives in `TestWasm.pm` are
actually injected, although it disables the injection since no
environment variable is presently injected.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 5893648069

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 91.117%

Totals Coverage Status
Change from base Build 5886340997: 0.0%
Covered Lines: 7580
Relevant Lines: 8319

💛 - Coveralls

@thibaultcha thibaultcha merged commit f09b8bf into main Aug 17, 2023
31 checks passed
@thibaultcha thibaultcha deleted the fix/wasmtime-backtrace-details-env branch August 17, 2023 21:41
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

Successfully merging this pull request may close these issues.

2 participants