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

Add llvm-sys linkage features #428

Merged
merged 1 commit into from
Jul 22, 2023

Conversation

nohenry
Copy link
Contributor

@nohenry nohenry commented Jul 16, 2023

Description

I've added force-dynamic, prefer-dynamic, force-static, and prefer-static feature flags to Cargo.toml for each version of llvm-sys from 12-16 (these flags only became available in version 12).

Related Issue

#427

How This Has Been Tested

cargo test --features llvm15-0-force-dynamic runs successfully. Also tested in a small project using llvm15-0-force-dynamic enabled.

Cargo.toml Show resolved Hide resolved
@nohenry
Copy link
Contributor Author

nohenry commented Jul 19, 2023

Not sure why CI is failing for version 16. Looks like this is a problem in other PRs as well. Building for 16 on my local machine works fine.

@TheDan64 TheDan64 merged commit 4030f76 into TheDan64:master Jul 22, 2023
@TheDan64
Copy link
Owner

Thanks!

@hamidrezakp
Copy link

This is a nice feature as Arch linux and Gentoo do not ship static libs for llvm anymore.
When can we expect to see this change being published?

@TheDan64
Copy link
Owner

TheDan64 commented Jan 1, 2024

I can do so sometime this week but I'm really sick right now. Please feel free to ping me in a week if I forget

@TheDan64
Copy link
Owner

@hamidrezakp fyi, inkwell 0.3.0 is out

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.

3 participants