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

panic: spawn_local called from outside of a task::LocalSet #159

Open
certik opened this issue Sep 26, 2024 · 0 comments
Open

panic: spawn_local called from outside of a task::LocalSet #159

certik opened this issue Sep 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@certik
Copy link
Contributor

certik commented Sep 26, 2024

Trying to use a trick from #69 (comment) for MSVC, but it triggers a panic:

~$ cmd /c call 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat' x64 \&\& 'bin\shell'
thread 'main' panicked at crates\deno_task_shell\src\shell\execute.rs:160:28:
`spawn_local` called from outside of a `task::LocalSet`
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
@certik certik added the bug Something isn't working label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant