rules_rust
rules_rust copied to clipboard
Fix flaky build and test failures on windows
This PR initially patched https://github.com/bazelbuild/rules_rust/pull/1899 to fix any unrelated errors and then reverted the PR. Two fixes in this PR:
- Shortening the test name to avoid maximum path length limit on windows.
- Disable more proto targets on windows because building
rust_prost_toolchainnow fails with the hash introduced by the transition in https://github.com/bazelbuild/rules_rust/pull/1899. The hash makes the the path over the limit as mentioned in (1).