Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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.

@TheDan64 TheDan64 self-requested a review July 16, 2023 21:52
@nohenry nohenry force-pushed the llvm-sys-linkage-features branch from 1ea76a0 to b486660 Compare July 16, 2023 23:11
@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