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

Fix DLL not found on Windows #233

Merged
merged 1 commit into from
Jan 1, 2025
Merged

Fix DLL not found on Windows #233

merged 1 commit into from
Jan 1, 2025

Conversation

Martomate
Copy link
Contributor

As mentioned in #20 (comment) there was an issue when building on Windows (using MinGW). Cargo would produce a DLL file, but sbt-jni could not find it. This PR fixes that issue for all three build tools.

I have run the sbt-tests on a Windows computer. Most tests failed (expected on Windows), but at least the "simple-cargo" test succeded. That means that the file was found and the Scala code was able to call the Rust function.

Copy link
Member

@pomadchin pomadchin left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@pomadchin pomadchin merged commit 5f7abbc into sbt:main Jan 1, 2025
9 checks passed
@Martomate Martomate deleted the dll branch January 7, 2025 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants