small fixups to cargo-all-features#194
Conversation
Turns out any cargo subcommand can be ran like this, instead of just the ones documented on the cargo-all-features crates.io page. Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
Fixes: 6f7d365 ("ci: convert build and test steps to use cargo-all-features") Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
Due to us running riscv tests in an emulated environment, compiling multiple permutations of crates is simply too slow and causes buildkite timeouts. Revert to using --all-features here. Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
|
@roypat LGTM, but my question now is, should we use Can we just do some steps (e.g. |
Mh, yeah, I suppose if we do clippy, then we don't strictly need it for build as well, but then, what would the default build test be (because I wouldn't be completely comfortable to not have one at all)? Because if it falls back to --all-features, it won't work for vhost.
I don't think so sadly :( |
Default features?
I don't have a strong opinion on this, just an idea to avoid consuming too much CI time. |
Mh, yeah, I could be convinced of that. Do you feel strongly about changing this, or are you also happy to leave things as they are?
I think this is fine, on vm-memory, which has a ton of features, the runtime of doing all the permutation steps is still quicker than build test on riscv without permutations, so generally I don't expect CI time to increase. For crates like vhost that don't support riscv, the build of all permutations takes 5 minutes on my laptop, which is indeed an increase, but hopefully fine? :o |
Not strong as I mentioned :-)
Yep, let's see how it will go, we can eventually implement this later. |
Summary of the PR
Please summarize here why the changes in this PR are needed.
Requirements
Before submitting your PR, please make sure you addressed the following
requirements:
git commit -s), and the commit message has max 60 characters for thesummary and max 75 characters for each description line.
test.
Release" section of CHANGELOG.md (if no such section exists, please create one).
unsafecode is properly documented.