Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
rustdoc: force binary filename for compiled doctests #57338
Right now, when building a doctest, rustdoc provides the compiler an output directory (a temp dir) but lets the compiler name the executable. If the doctest needs to be executed, it then tries to run a binary named
This PR changes the paths rustdoc gives to the compiler when building doctests to force the output filename instead of just the directory.