Weihang Lo bdccfd8021
fix(package): Ensure we can package directories ending with '.rs' (#15240)
### What does this PR try to resolve?

This likely only affects `-Zpackage-workspace` but it might have also
broken dependencies whose path ends with `.rs` as
well

This broke in https://github.com/rust-lang/cargo/pull/14961

### How should we test and review this PR?

### Additional information
2025-02-28 19:15:20 -05:00
..