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

why RUST_SRC_REPO needs to know at compile time ? #104

Closed
tesuji opened this issue Sep 9, 2020 · 1 comment · Fixed by #107
Closed

why RUST_SRC_REPO needs to know at compile time ? #104

tesuji opened this issue Sep 9, 2020 · 1 comment · Fixed by #107

Comments

@tesuji
Copy link
Contributor

tesuji commented Sep 9, 2020

const RUST_SRC_REPO: Option<&str> = option_env!("RUST_SRC_REPO");

If I build cargo-bisect-rustc and copy it to another computer with different directory to rustc,
does it make me slowly re-clone rustc ?

@tesuji
Copy link
Contributor Author

tesuji commented Sep 9, 2020

#107 should close this issue if we agree with how it done.

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

Successfully merging a pull request may close this issue.

1 participant