-
Hello! This is really a cool project, thanks for all the work put into it. I wonder if there's a way to use
Main problem solved here is having both host-target built and embedded-target built crates within the same repository and having them share certain lib-crates from that repo. Otherwise, putting all the crates together breaks cargo commands run from the root workspace due to incompatible targets and crate-features conflicts between them. Segregating crates into their nested disjoint workspaces solves the problem. In my example it'd be 3 workspaces:
This means that every workspace has its own target directory and before running a And this where my problem with Normally one could base Certain things seem to be fixable or at least workaround-able, for example
However the biggest (that is non-trivial) issue I found so far is that My main question boils down to basically: Is there
Or would I appreciate help - unless there's some other thread that I missed I think this one could become a good resource for Rust Embedded devs looking into Nix-based project caching. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hello!
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!
Yes changing the directory before performing the build is totally possible: all the various build methods we expose are built on top of Particularly you may be interested in using either of Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hello!
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!
Yes changing the director…