rules_rust icon indicating copy to clipboard operation
rules_rust copied to clipboard

Fix flaky build and test failures on windows

Open tidefield opened this issue 2 years ago • 0 comments

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:

  1. Shortening the test name to avoid maximum path length limit on windows.
  2. Disable more proto targets on windows because building rust_prost_toolchain now 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).

tidefield avatar Oct 26 '23 15:10 tidefield