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

[0.12.x] Support nativeServiceProviders in ScalaNativeModule (Backport #4736) #4744

Open
wants to merge 1 commit into
base: 0.12.x
Choose a base branch
from

Conversation

lolgab
Copy link
Member

@lolgab lolgab commented Mar 17, 2025

Scala Native supports ServiceProvider which allows loading implementations for interfaces using reflection. To avoid bloating binaries with all available implementations, Scala Native requires to set at build time the implementations that are used. This PR adds support for it in Mill.

Pull Request: #4744

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
…4736)

Scala Native supports `ServiceProvider` which allows loading
implementations for interfaces using reflection. To avoid bloating
binaries with all available implementations, Scala Native requires to
set at build time the implementations that are used.
This PR adds support for it in Mill.

Pull Request: com-lihaoyi#4736
@lolgab lolgab marked this pull request as ready for review March 18, 2025 08:43
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.

None yet

1 participant