Skip to content

fix: should not panic when passing test option to SourceMapDevToolPlugin#8136

Merged
chenjiahan merged 1 commit intoweb-infra-dev:mainfrom
inottn:fix/source-map-plugin
Oct 16, 2024
Merged

fix: should not panic when passing test option to SourceMapDevToolPlugin#8136
chenjiahan merged 1 commit intoweb-infra-dev:mainfrom
inottn:fix/source-map-plugin

Conversation

@inottn
Copy link
Copy Markdown
Collaborator

@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
@netlify
Copy link
Copy Markdown

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
@chenjiahan
Copy link
Copy Markdown
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