Comments (5)
No worries at all - check out the relevant chapter in the Rust book for guidance 😁
from cargo-chef.
Can you provide a repository to reproduce? The project structure would be enough, it doesn't have to contain the same code.
Is this a single workspace with two projects inside or are we talking about multiple workspaces (see #4)?
from cargo-chef.
Thanks for taking your time. I put my test-environment in a github repo here:
https://github.com/ineiti/rust-docker
There is a working version in the Dockerfile
, but I'm not sure it's the best way to do it.
Also, in the final project, this should work with wasm-pack
. But I'll open another issue for that one.
from cargo-chef.
Ok, as it is now, you fall into the other issue I mentioned.
If you add a top-level Cargo.toml with a workspace
entry you should be able to build without having any issue.
from cargo-chef.
Didn't see the #4 there, sorry!
Rust noob here
I'll try that, thanks!
from cargo-chef.
Related Issues (20)
- `split-debuginfo = "unpacked"` is not part of recipe HOT 1
- Pass custom arguments to build commands HOT 1
- Add `--bins` flag HOT 1
- Unable to use cargo-chef with old nightly and 2018 edition HOT 5
- error while loading shared libraries: libssl.so.3 HOT 3
- Add `--tests` option
- Add `--download-only` option for multi-crate workspaces HOT 2
- Feature request: very verbose log output
- `cargo chef` appears to ignore `Cargo.lock` HOT 9
- I'm not 100% sure the README example works as expected? HOT 4
- Add a `--no-build` option
- Ignore workspace dependencies when cooking HOT 3
- Feature: Remove explicit transitive dependencies from packages during `chef prepare` HOT 1
- Fails when package.version not set (Cargo 1.75+) HOT 3
- Build Error: Syntax error: ";" unexpected HOT 6
- Unintended Full Recompilation When Integrating Cargo Chef into Graph Node Dockerfile HOT 9
- cargo-chef missing from docker hub HOT 11
- toolchain in recipe.json is ignored in `cargo chef cook`
- Using cargo-chef increased my build time from 5 minutes to 25 mintues HOT 13
- Cargo chief can't fetch packages.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-chef.