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

Don't use autoBoot / filterLibrary for 2.13 and 3 #1331

Merged
merged 1 commit into from
Jan 27, 2024
Merged

Conversation

lrytz
Copy link
Contributor

@lrytz lrytz commented Jan 23, 2024

Passing -bootclasspath /path/to/scala-library.jar to the Scala compiler is only done for historical reasons. Putting the Scala library on the ordinary classspath is equivalent.

This commit adds a noboot factory for ClasspathOptions which doesn't use -bootclasspath for Scala 2.13 and Scala 3.

This change was made in the context of SIP-51, unfreeze the Scala library / sbt/sbt#7480, but it's just a cleanup and not actually required.

Passing `-bootclasspath /path/to/scala-library.jar` to the Scala
compiler is only done for historical reasons. Putting the Scala library
on the ordinary classspath is equivalent.

This commit adds a `noboot` factory for ClasspathOptions which
doesn't use `-bootclasspath` for Scala 2.13 and Scala 3.
Copy link
Member

@eed3si9n eed3si9n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@eed3si9n eed3si9n merged commit c4f4ec0 into sbt:develop Jan 27, 2024
8 checks passed
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