Skip to content

rust: Change cwd of cargo run-esque tasks to use package root, not dirname of current file as cwd#44672

Merged
osiewicz merged 1 commit intomainfrom
rust-change-cwd-of-runnable-tasks
Dec 11, 2025
Merged

rust: Change cwd of cargo run-esque tasks to use package root, not dirname of current file as cwd#44672
osiewicz merged 1 commit intomainfrom
rust-change-cwd-of-runnable-tasks

Conversation

@osiewicz
Copy link
Member

This also applies to cargo clean one.

Closes #20873

Release Notes:

  • rust: Changed cwd of tasks that spawn a binary target to the root of a current package (which used to be a directory of the current source file).

…dirname of current file as cwd

This also applies to `cargo clean` one.
@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Dec 11, 2025
@osiewicz osiewicz enabled auto-merge (squash) December 11, 2025 23:43
@osiewicz osiewicz merged commit 8d0fff6 into main Dec 11, 2025
24 checks passed
@osiewicz osiewicz deleted the rust-change-cwd-of-runnable-tasks branch December 11, 2025 23:47
nrbnlulu pushed a commit to nrbnlulu/zed that referenced this pull request Dec 14, 2025
…dirname of current file as cwd (zed-industries#44672)

This also applies to `cargo clean` one.

Closes zed-industries#20873

Release Notes:

- rust: Changed cwd of tasks that spawn a binary target to the root of a
current package (which used to be a directory of the current source
file).
CherryWorm pushed a commit to CherryWorm/zed that referenced this pull request Dec 16, 2025
…dirname of current file as cwd (zed-industries#44672)

This also applies to `cargo clean` one.

Closes zed-industries#20873

Release Notes:

- rust: Changed cwd of tasks that spawn a binary target to the root of a
current package (which used to be a directory of the current source
file).
someone13574 pushed a commit to someone13574/zed that referenced this pull request Dec 16, 2025
…dirname of current file as cwd (zed-industries#44672)

This also applies to `cargo clean` one.

Closes zed-industries#20873

Release Notes:

- rust: Changed cwd of tasks that spawn a binary target to the root of a
current package (which used to be a directory of the current source
file).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Code actions don't work

1 participant