Conversation
https://doc.rust-lang.org/cargo/guide/cargo-home.html recommends to cache only these directories from ~/.cargo: bin/ registry/index/ registry/cache/ git/db/
|
Hi @mpizenberg! I wonder what was the reason for |
|
By the way, instead of |
Ah, maybe it just wasn't working with the |
oh no don't worry, that's because I initially tried with the alpine image which is lighter but the command for that required bash |
I like the idea of using docker container that already has the latest Rust version installed. I knew it was possible in Gitlab, but haven't seen the option here. Looking closer, it still has to be downloaded rather than being a base for the runner, huh. Might not provide any network savings that way at all... I wonder if we could use someone else's image for |
Yes, I rerun it to see if it would have to download again the image and it appears it did. Too bad the image is not kept in the runner cache. |
Yeah, a runner is a brand new VM for every job. |
|
No need to keep that around. We can come back to it if needed in the closed PRs. It has served its experimental purpose. |
…#35) ## Summary This PR borrows a trick from [HashMap](https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.contains_key) to enable users to pass (e.g.) `&str` to `Ranges::contains`, given `Ranges<String>`.
…#35) ## Summary This PR borrows a trick from [HashMap](https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.contains_key) to enable users to pass (e.g.) `&str` to `Ranges::contains`, given `Ranges<String>`.
…#35) (#301) ## Summary This PR borrows a trick from [HashMap](https://doc.rust-lang.org/std/collections/struct.HashMap.html#method.contains_key) to enable users to pass (e.g.) `&str` to `Ranges::contains`, given `Ranges<String>`. Co-authored-by: Charlie Marsh <[email protected]>
No description provided.