Skip to content

Conversation

@teor2345
Copy link
Contributor

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
Contributor

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
Contributor

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
Contributor 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.

3 participants