diff options
| author | Ximin Luo <infinity0@debian.org> | 2023-05-18 17:00:21 -0600 |
|---|---|---|
| committer | liushuyu <liushuyu011@gmail.com> | 2023-05-19 18:49:50 -0600 |
| commit | 0d7d2cae2f414496113afebfb8fc2f2012e4e701 (patch) | |
| tree | d222b6ba8dbb7b9236abafbc15d79b1104b93940 /src/bootstrap/download.rs | |
| parent | 8a281f9c796ee8cbebb07bbeec04ef2f2dd8db45 (diff) | |
| download | rust-0d7d2cae2f414496113afebfb8fc2f2012e4e701.tar.gz rust-0d7d2cae2f414496113afebfb8fc2f2012e4e701.zip | |
Set the timestamp of downloaded stage0 files ...
... using server-reported timestamp. This allows us to track changes to the downloaded artifact more easily and in a more reproducible manner. Co-authored-by: Zixing Liu <zixing.liu@canonical.com>
Diffstat (limited to 'src/bootstrap/download.rs')
| -rw-r--r-- | src/bootstrap/download.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/download.rs b/src/bootstrap/download.rs index 3e82a381a1b..25df5b2573b 100644 --- a/src/bootstrap/download.rs +++ b/src/bootstrap/download.rs @@ -219,7 +219,7 @@ impl Config { "30", // timeout if cannot connect within 30 seconds "--retry", "3", - "-Sf", + "-SRf", ]); curl.arg(url); let f = File::create(tempfile).unwrap(); |
