-
Notifications
You must be signed in to change notification settings - Fork 474
rust_doc_test
targets are currently broken on windows
#887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I've opened #888 to disable the tests while a solution is found. This way other PRs are not blocked. |
Currently RBE also does not work with |
Yes, see also: #845 |
I suspect the problem is here: rules_rust/rust/private/rustdoc.bzl Line 101 in dd1c73e
but I haven't had time to investigate further. Perhaps we could set a |
This rule is unlike any rule in that it is compiling rust within a test. To try and make it clearer:
I suspect the issue is that the test environment is not the same as the sandboxed action environment that I think the fix is either compile the tests in an action (but not run them) using the --no-run feature so that the test execution is just running the test binary. I'd expect this to shape out like:
Unfortunately, this is a nightly feature so not something that can be done now. The alternative is to figure out how to create a process-wrapper for the test that ensures the environment is sufficient for building and running the tests. This is probably the better path forward since it'd be backwards compatible (not needing the nightly flag) but I don't know how to do that... |
Given #845, I suspect we could do
It looks like we're hitting the tool resolution described in rustc (or similar logic in the
|
I spent last weekend trying a few things but didn't come up with anything that worked 😞 I'm happy to collaborate on more ideas though! I did try setting Feel free to take a look and I'm happy to try and answer any questions. But feeling kinda stumped on this issue... 😞 edit: Note that that draft started simple and just exploded as I tried more things 😄 |
I see. Looking at #882, I don't think I don't have more time to look for a few days, but happy to work on this. |
I'd absolutely love the help 🤩 feeling stuck on this one... |
As mentioned earlier, I think fixing the sandboxing issues would likely solve for the issue here (which would close #804). |
A change to the Bazel CI windows runners broke the
rust_doc_test
targets currently defined in the repo. This issue tracks fixing these.Related to:
The text was updated successfully, but these errors were encountered: