Skip to content

Does cargo-multivers support producing static libraries? #12

Answered by ronnychevalier
golmschenk asked this question in Q&A
Discussion options

You must be logged in to vote

You are correct, this is not supported.

Yes, cargo multivers binary wrapper (multivers-runner) is the one determining at runtime the supported CPU features. Currently, the approach used by the wrapper cannot be used in the context of a library. A different approach needs to be implemented for it to work in such a context.
I'm not working on this at the moment, so unless someone is motivated to do it, it will not be supported any time soon.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by golmschenk
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants