Skip to content

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