Skip to content

Using non Cargo specific files in the build environment #296

Closed Answered by dpc
Witcher01 asked this question in Q&A
Discussion options

You must be logged in to vote

By default, if you don't take care of splitting your build into deps-only + normal (using cargoArtifacts), the crane lib will do it for you and both of these will run your installPhase. Usually such default behavior OK, but here it will not work, as in deps-only build, almost all files/code is missing and make needs them.

https://github.com/ipetkov/crane/blob/master/docs/API.md#optional-attributes-1

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ipetkov
Comment options

@ipetkov
Comment options

@Witcher01
Comment options

Answer selected by ipetkov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants