File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
10
10
- New method ` Toolchain::rustup_binary ` to allow running arbitrary binaries managed by rustup. Before, only ` rustc ` and ` cargo ` could be run.
11
11
12
+ ### Changed
13
+
14
+ - The default sandbox image is now fetched from [ GitHub Container Registry] [ ghcr-linux ] .
15
+
16
+ [ ghcr-linux ] : https://github.com/orgs/rust-lang/packages/container/package/crates-build-env/linux
17
+
12
18
## [ 0.12.0] - 2021-01-28
13
19
14
20
### Added
15
21
16
22
- New variant ` PrepareError::MissingDependencies ` , returned during the prepare
17
23
step when a dependency does not exist.
24
+
18
25
### Changed
19
26
20
27
- Path dependencies are no longer removed from ` Cargo.toml ` during the prepare
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ use std::time::Duration;
12
12
static DEFAULT_SANDBOX_IMAGE : & str = "rustops/crates-build-env-windows" ;
13
13
14
14
#[ cfg( not( windows) ) ]
15
- static DEFAULT_SANDBOX_IMAGE : & str = "rustops/ crates-build-env" ;
15
+ static DEFAULT_SANDBOX_IMAGE : & str = "ghcr.io/rust-lang/ crates-build-env/linux " ;
16
16
17
17
const DEFAULT_COMMAND_TIMEOUT : Option < Duration > = Some ( Duration :: from_secs ( 15 * 60 ) ) ;
18
18
const DEFAULT_COMMAND_NO_OUTPUT_TIMEOUT : Option < Duration > = None ;
@@ -53,11 +53,11 @@ impl WorkspaceBuilder {
53
53
54
54
/// Override the image used for sandboxes.
55
55
///
56
- /// By default rustwide will use the [rustops/ crates-build-env] image on Linux systems, and
57
- /// [rustops/crates-build-env-windows] on Windows systems. Those images contain dependencies to
58
- /// build a large amount of crates.
56
+ /// By default rustwide will use the [ghcr.io/rust-lang/ crates-build-env/linux-micro ] image on
57
+ /// Linux systems, and [rustops/crates-build-env-windows] on Windows systems. Those images
58
+ /// contain dependencies to build a large amount of crates.
59
59
///
60
- /// [rustops/ crates-build-env]: https://hub.docker. com/r/rustops/ crates-build-env
60
+ /// [ghcr.io/rust-lang/ crates-build-env/linux-micro ]: https://github. com/orgs/rust-lang/packages/container/package/ crates-build-env/linux-micro
61
61
/// [rustops/crates-build-env-windows]: https://hub.docker.com/r/rustops/crates-build-env-windows
62
62
pub fn sandbox_image ( mut self , image : SandboxImage ) -> Self {
63
63
self . sandbox_image = Some ( image) ;
You can’t perform that action at this time.
0 commit comments