-
Notifications
You must be signed in to change notification settings - Fork 402
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
allow for project specific rust file server mirrors #550
Comments
…ust file server mirrors (#551) * rust_toolchain_repository: add urls to enable project specific rust file server mirrors * fixup! rust_toolchain_repository: add urls to enable project specific rust file server mirrors * Regenerate documentation
PR was merged! |
@UebelAndre unfortunately that doesn't work so well and increases build times for our CI as we use
running
|
Oh wow, really good to know. That seems like a bug on Bazel's side though 😞 I otherwise don't understand why |
@UebelAndre here's an open issue on the bazel side for that: |
@dirkboye Oh wow, you're a hero! Thank you 🙏 😄 |
We mirror all external dependencies to our local network so that we do not need any internet access for building our software.
Using environment variable
STATIC_RUST_URL
is good for our CI but it's cumbersome for developers who needto have the environment variable set as well.
A better solution can be seen in
go_rules
methodgo_download_sdk
( see https://github.com/bazelbuild/rules_go/blob/master/go/toolchains.rst#go-download-sdk ) where you can set the mirror urls.I'd like to propose to add something similar to
rust_toolchain_repository
which would make it possible tohave project-specific rust mirrors.
The text was updated successfully, but these errors were encountered: