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

Enables experimental support for raw-dylib #977

Merged
merged 2 commits into from
Jul 14, 2021
Merged

Enables experimental support for raw-dylib #977

merged 2 commits into from
Jul 14, 2021

Conversation

kennykerr
Copy link
Collaborator

@kennykerr kennykerr commented Jul 14, 2021

The raw-dylib linking support that @ricobbe has been working on has made it into nightly builds. This update conditionally takes advantage of raw-dylib for Win32 functions when the raw_dylib feature is selected. Unfortunately, a test could not be added because cargo ends up sharing the feature-enabled windows crate with all tests and I'm not yet ready to turn it on everywhere. Still, this lets us start experimenting with the feature in other crates. Once this is published I'll update some of the samples to use this feature.

Fixes #463

@rylev
Copy link
Contributor

rylev commented Jul 14, 2021

@kennykerr Can you try using the v2 feature resolver (which will be the default feature resolver in Rust 2021) to see if you can get the tests working?

@kennykerr
Copy link
Collaborator Author

@rylev I gave it a try - adding resolver = "2" - but it didn't solve the problem.

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.

Linker error calling certain functions
2 participants