Skip to content

Conversation

lolgab
Copy link
Member

@lolgab lolgab commented Nov 24, 2023

This allows to build static and dynamic libraries other than binaries.

Pull Request: #2898

@lolgab lolgab marked this pull request as ready for review November 25, 2023 09:07
@lolgab lolgab requested a review from lefou November 25, 2023 10:42
@lolgab lolgab marked this pull request as draft November 25, 2023 10:47
@lolgab lolgab changed the title Support Scala Native build target [WIP] Support Scala Native build target Nov 25, 2023
@lolgab lolgab changed the title [WIP] Support Scala Native build target Support Scala Native build target Nov 25, 2023
Copy link
Member

@lefou lefou left a comment

Choose a reason for hiding this comment

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

Looks good to me.

buildTarget: BuildTarget
): Object = {
val entry = if (patchIsGreaterThanOrEqual(3)) mainClass else mainClass + "$"
): Either[String, Object] = {
Copy link
Member

Choose a reason for hiding this comment

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

This could be a Either[String, Config]. Refining return types is allowed.

@lolgab lolgab marked this pull request as ready for review November 25, 2023 12:57
@lolgab lolgab merged commit b15576f into com-lihaoyi:main Nov 25, 2023
@lolgab lolgab deleted the support-scala-native-build-target branch November 25, 2023 20:24
@lefou lefou added this to the after 0.11.6 milestone Nov 25, 2023
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