Marcel Hlopko
Marcel Hlopko
`dyn` may have become a keyword in 2021, should we add it as well?
Ping @dslomov
rules_rust take the linker from the C++ toolchain, we don't use the rustc defaults. This is where this happens: https://github.com/bazelbuild/rules_rust/blob/main/rust/private/rustc.bzl#L229. I'm hopeless when it comes to Windows, but to me...
If ^ works when C++ constructs the linking action, we can diff the command line and see further where things went wrong.
Oh wow I've never looked into the implementation of rust_doc_test, I didn't know about the shell script inside. Still, there doesn't seem to be outer/inner Bazel, just potentially slightly different...
CC @jayconrod for more ideas :)
cc @philwo
cc @aiuto @dslomov
@aiuto - nit - https://docs.bazel.build/versions/master/skylark/deploying.html#registering-toolchains suggests the name `_toolchains(). Not that it matters, let's just be consistent (feel free to edit docs if you care strongly). I was already planning...