Skip to content
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

Some commands don't work with CI builds but could #75

Open
jsha opened this issue Nov 14, 2022 · 0 comments
Open

Some commands don't work with CI builds but could #75

jsha opened this issue Nov 14, 2022 · 0 comments

Comments

@jsha
Copy link

jsha commented Nov 14, 2022

https://github.com/rust-lang/docs.rs/pull/1892/files#diff-b06b44e6583254ce69af8cedabc04a73a97599d593676e1bbad7ee442240ccf1R121-R128

When using a CI build, commands like this fail:

        let res = Command::new(&self.workspace, self.toolchain.rustc())
            .args(&["--version"])
            .log_output(false)
            .run_capture()?;

That's because rustwide tries to invoke:

$ rustc +6703d43029387eef125596dd7071d0d4fab902c3 --version
error: toolchain '6703d43029387eef125596dd7071d0d4fab902c3' is not installed

@jyn514 proposed we could solve this either by invoking the CI binary directly, or by running rustup toolchain link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant