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: should not panic when passing test option to SourceMapDevToolPlugin #8136

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

inottn
Copy link
Contributor

@inottn inottn commented Oct 16, 2024

Summary

Passing the test option to SourceMapDevToolPlugin now results in the following error:

Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message: Cannot start a runtime from within a runtime. This happens because a function (like block_on) attempted to block the current thread while the thread is being used to drive asynchronous tasks.
Location: crates/rspack_binding_options/src/options/raw_devtool.rs:99

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added the release: bug fix release: bug related release(mr only) label Oct 16, 2024
Copy link

netlify bot commented Oct 16, 2024

Deploy Preview for rspack canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 89f86bc
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/670f29557841da000826ec97

@hardfist hardfist requested a review from h-a-n-a October 16, 2024 03:55
@chenjiahan chenjiahan merged commit dcfcea0 into web-infra-dev:main Oct 16, 2024
34 checks passed
@chenjiahan
Copy link
Member

Thanks 😄

@inottn inottn deleted the fix/source-map-plugin branch October 16, 2024 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release: bug fix release: bug related release(mr only)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants