Skip to content

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