Skip to content

Commit 55d3db0

Browse files
Nero5023meta-codesync[bot]
authored andcommitted
Skip starlark bin from cargo doc to fix Windows CI
Summary: The `starlark` bin in `starlark_bin` shares a name with the `starlark` lib, so `cargo doc` writes both into `target/doc/starlark/`. On Windows this races and rustdoc fails with "path not found" for nested files ([cargo#6313](rust-lang/cargo#6313)). Setting `doc = false` on the bin makes rustdoc skip it. Reviewed By: IanChilds Differential Revision: D102728173 fbshipit-source-id: fdc409dcaf3dca81f5a58f0a9e44594d3fa3c741
1 parent 6aa4e31 commit 55d3db0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

starlark_bin/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@ thiserror = "2.0.18"
3434
walkdir = "2.3"
3535

3636
[[bin]]
37+
doc = false
3738
name = "starlark"
3839
path = "bin/main.rs"

0 commit comments

Comments
 (0)