Skip to content

Add support to dynamic LLVM libraries #406

Open
@Daniel-Boll

Description

@Daniel-Boll

Is your feature request related to a problem? Please describe.

Yes, the current version of the LLVM crate does not support dynamic LLVM libraries, which limits its usability in certain scenarios. This can be frustrating for users who need to work with dynamically loaded libraries.

Describe the solution you'd like

The solution would be to add support for dynamic LLVM libraries in the LLVM crate, as has been done in the llvm-sys crate with this MR: https://gitlab.com/taricorp/llvm-sys.rs/-/merge_requests/31. This would allow users to work with dynamically loaded libraries and improve the crate's overall usability.

Describe possible drawbacks to your solution

One possible drawback is that adding support for dynamic LLVM libraries could increase the size of the crate and potentially impact its performance. Additionally, it could introduce compatibility issues with certain systems or configurations.

Describe alternatives you've considered

One alternative solution could be for users to manually modify the LLVM crate to add support for dynamic libraries, but this would require significant effort and knowledge of the crate's internals. Another alternative could be to use a different crate or library that already supports dynamic LLVM libraries.

Additional context

None.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions