cool-easter-32542
04/05/2023, 4:55 PMBUILD file:
files(
sources=[…, ".cargo/config", …],
)
which resulted in the error:
native_engine.IntrinsicError: Unmatched glob from src/rust/engine:rust_sources's `sources` field: "src/rust/engine/.cargo/config"
Do the file(s) exist? If so, check if the file(s) are in your `.gitignore` or the global `pants_ignore` option, which may result in Pants not being able to see the file(s) even though they exist on disk. Refer to <https://www.pantsbuild.org/v2.17/docs/troubleshooting#pants-cannot-find-a-file-in-your-project>.
.cargo was not in my .gitignore or my `pants_ignore`; this behaviour was not listed in the troubleshooting docs.
pantsbuild/pants