Skip to content
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

Check no-std/std and other missing features in CI #3427

Merged
merged 2 commits into from
Mar 11, 2025

Conversation

teor2345
Copy link
Member

This PR is a follow-up to PR #3426, which makes sure that:

This will avoid future issues like those fixed in PR #3426.

Code contributor checklist:

restore-keys: |
${{ runner.os }}-cargo-

- name: cargo build --locked --package subspace-runtime
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some descriptive name please. Easier to see the flow


- name: cargo build --locked --package subspace-runtime
run: |
cargo -Zgitoxide -Zgit build --locked --package subspace-runtime
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not build all the packages at once ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because cargo does feature unification, which hides missing features:
https://doc.rust-lang.org/cargo/reference/features.html#feature-unification

@teor2345 teor2345 marked this pull request as draft March 11, 2025 02:42
@teor2345 teor2345 merged commit 226c277 into fix-runtime-builds Mar 11, 2025
4 of 14 checks passed
@teor2345 teor2345 deleted the no-std-ci branch March 11, 2025 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants