-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing features #10
Conversation
Somehow the command from the README does not build for me, going to put in the CI to see if it reproduces.
The CI has run out of disk space on this run. But it looks like the command has passed successfully before that happened: (also both work for me locally) @ggwpez Is |
Yes it works now because i added the features. You can see the previous run here: https://github.com/paritytech/polkadot-sdk-parachain-template/actions/runs/10291282486/job/28483191721 So adding the features should fix it either way. |
Right, right, makes sense. BUT - running Not sure what to do about next in terms of CI - do we have to check 6 variants in each template (3 packages, dev and release)? |
Anyways I added analogical PRs to the other templates, and will add a PR to
But it's still not clear to me what happens here, probably missing experience with how Rust features work. |
It is how cargo determines what features to enable. If you only build a single package then it may not enable all features since it only looks at that crate - not the whole workspace. Additionally you can also change the build instructions in the readme just to
You can change all to |
Sounds good, I think I'm getting it now. |
Right, but this was the command that was included in the readme.... so it really should have been the one that was tested, or you should have put in the readme the steps you did which actually passed. |
Corrects the issue we had [here](paritytech/polkadot-sdk-parachain-template#10), in which `cargo build --release` worked but `cargo build --package parachain-template-node --release` failed with missing features. The command has been added to CI to make sure it works, but at the same we're changing it in the readme to just `cargo build --release` for simplification. Labeling silent because those packages are un-published as part of the regular release process. --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Corrects the issue we had [here](paritytech/polkadot-sdk-parachain-template#10), in which `cargo build --release` worked but `cargo build --package parachain-template-node --release` failed with missing features. The command has been added to CI to make sure it works, but at the same we're changing it in the readme to just `cargo build --release` for simplification. Labeling silent because those packages are un-published as part of the regular release process. --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Somehow the command from the README does not build for me, going to put in the CI to see if it reproduces.