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

[C#] Specify the complete path for the Rust Lib - to be used on .NET >= 6 iOS #194

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

busec0
Copy link
Contributor

@busec0 busec0 commented Nov 15, 2023

Context: Normally you can use a tool like DLLMap to adjust that (on Mono-based projects, like Xamarin). However, with .NET >= 6 iOS there's no DLL map.

You can use the new .NET APIs https://github.com/dotnet/runtime/blob/main/docs/design/features/dllmap.md but that would be problematic for some SDKs - You'd need to have an "entry point" for resolving the DLL in code, before any public method using the FFI would be invoked.

…iOS.

Context: Normally you can use a tool like DLLMap to adjust that (on Mono-based projects, like Xamarin). However, with .NET >= 6 iOS there's no DLL map.

You can use the new .NET APIs https://github.com/dotnet/runtime/blob/main/docs/design/features/dllmap.md but that would be problematic for some SDKs - You'd need to have an "entry point" for resolving the DLL in code, before any public method using the FFI would be invoked.
@busec0 busec0 self-assigned this Nov 15, 2023
Copy link
Collaborator

@danielhenrymantilla danielhenrymantilla left a comment

Choose a reason for hiding this comment

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

Thanks!

@busec0 busec0 merged commit 36ae9f3 into master Nov 15, 2023
110 checks passed
@busec0 busec0 deleted the csharp-rust-lib-path-net6-ios branch November 15, 2023 11:14
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