bootstrap dist command is trying to run unix date command on a windows system #47908
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
This issue is currently blocking me to upgrade rustc on docs.rs.
When I try to run
python x.py dist
, bootstrap is failing with following output:Windows doesn't have a
date
executable. I tried to copy MSYS's date (along with all dependencies) to $PATH, it worked forx86_64-pc-windows-msvc
but still failing oni686-pc-windows-msvc
.date
command is being called in src/bootstrap/dist.rs#L450-L451. It should be fairly easy to replace this withtime
crate.The text was updated successfully, but these errors were encountered: