Skip to content

Rename devtool to xtask - #131

Open
celinval wants to merge 2 commits into
rust-lang:mainfrom
celinval:xtask
Open

Rename devtool to xtask#131
celinval wants to merge 2 commits into
rust-lang:mainfrom
celinval:xtask

Conversation

@celinval

Copy link
Copy Markdown
Contributor

The xtask is a well established convention that I think is worth following.

Exclude the devtool from default member.
xtask is a well known pattern in the rust ecosystem.
Comment thread x
--target-dir "${TARGET_DIR}"

"${TARGET_DIR}"/debug/devtool "$@"
cargo +${TOOLCHAIN} xtask "$@"

@makai410 makai410 Aug 27, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think it would be better to invoke xtask directly, since cargo run goes through rustup that sets its own envs and that's undesirable.

View changes since the review

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.

2 participants