Skip to content

crane application in the mixed host-embedded project #861

Closed Answered by ipetkov
glaeqen asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

I wonder if there's a way to use crane to build a project with presumably less standard structure than usually.

Generally speaking, yes it should be possible, though there may be some extra steps you'd need to take when configuring/handling the derivations. How much of that is necessary will depend on your workflow!

This means that every workspace has its own target directory and before running a cargo command one has to cd into the relevant workspace. This is how I normally interact with them.

And this where my problem with crane starts because my impression is that it requires all cargo commands to be runnable from the root of the src passed into it.

Yes changing the director…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@glaeqen
Comment options

Answer selected by glaeqen
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