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

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).
8d0fff688fPiotr Osiewicz committed on 12/11/2025, 11:47:40 PM· committed by GitHubparent717d898
1 file changedLine totals unavailable