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 linker used concurrently #1137

Merged
merged 1 commit into from
Jan 30, 2021

Conversation

lolgab
Copy link
Member

@lolgab lolgab commented Jan 30, 2021

After #1007 got merged, it generated an annoying bug: if you use -j number to use multiple parallel workers, multiple workers would try to use the same Scala.js linker, failing with: java.lang.IllegalStateException: Linker used concurrently.
This uses separate linkers per generated files so that doing __.test or __.fastOpt can't give the same linker to two different projects ( they generate different js files )

@lefou lefou merged commit 7666fce into com-lihaoyi:master Jan 30, 2021
@lefou lefou added this to the after 0.9.5 milestone Jan 30, 2021
@lefou
Copy link
Member

lefou commented Jan 30, 2021

Thanks!

@lolgab lolgab deleted the fix-linker-used-concurrently branch January 30, 2021 18:12
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