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

Simple Check Feature Task xtask #7041

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

cwfitzgerald
Copy link
Member

Closes #6981

Simple check that ensures that a given set of features on a crate does/doesn't depend on a given crate. Should be pretty self-explanatory

Found #7040 through this.

@cwfitzgerald cwfitzgerald requested a review from a team as a code owner January 31, 2025 01:13
@cwfitzgerald cwfitzgerald force-pushed the cw/check-feature-deps branch from 1cf69ae to f995930 Compare January 31, 2025 01:18
Copy link
Member

@ErichDonGubler ErichDonGubler left a comment

Choose a reason for hiding this comment

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

Conditionally approving, with one potential problem to resolve and a nit.


I used Conventional Comments in this review! I hope they help with clarity and tone. 🙂

binary_name: "wasm-bindgen",
}];

if no_serve {
Copy link
Member

Choose a reason for hiding this comment

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

This seems wrong. Shouldn't this be inverted (i.e., !no_serve should pull in simple-http-server, not the inverse)?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops!

use xshell::Shell;

#[derive(Debug)]
#[expect(dead_code)]
Copy link
Member

Choose a reason for hiding this comment

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

nitpick: lolwut, reason for Positive plz?

question: Also, is it not possible to narrow this down to that specific variant? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

I thought I was going to write a positive check, but I didn't immediately think of one. I'm going to leave it for now, but will move the expect.

@cwfitzgerald cwfitzgerald force-pushed the cw/check-feature-deps branch from f995930 to 8ec7233 Compare January 31, 2025 17:49
@cwfitzgerald cwfitzgerald enabled auto-merge (squash) January 31, 2025 17:55
@cwfitzgerald cwfitzgerald merged commit ad194a8 into gfx-rs:trunk Jan 31, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI/xtask for Validating State of Dependency Tree
2 participants