-
Notifications
You must be signed in to change notification settings - Fork 205
Use linker version set in Bloop configuration #1062
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
Comments
This only updates the dependencies of the sbt build since Bloop is incompatible with Scala.js 0.6.29. See also scalacenter/bloop#1062
Hi @tindzk, how do you expect this to work? An actionable thing out of this ticket is to upgrade to the latest Scala.js version, however I'm not sure how you envision Bloop would behave here. |
It should be possible to resolve the linker during runtime. This is how Mill does it. |
Could you look into how we can use a similar trick in bloop? |
Yes, I will try to come up with something in the next few days. |
Great! Let me know how you want to implement this, I'm curious to know how you're thinking about this and would like to provide some early feedback. |
Unfortunately, I did not manage to run the test cases yet. I checked out the latest sbt bloopInstall
bloop test frontend -o bloop.JsTestSpec The output indicates that the bridge is missing. Here are the changes I would like to make:
|
You need to publish the js bridges manually every time you make a change in them or the version of the build changes (which happens roughly every time you reload the sbt shell or quit it). |
When a library was compiled with a newer Scala.js version than the one used by Bloop, the module cannot be linked.
For example, sparsetech/toml-scala#16 fails as it updates ScalaCheck from 1.14.0 to 1.14.2 which was compiled for Scala.js 0.6.29, however the linker version used by Bloop is 0.6.28. From the CI log:
In any case, the linker version set in the Bloop configuration should be honoured as this would allow users to downgrade in case of regressions.
The text was updated successfully, but these errors were encountered: