pub struct PinnedBuild {
pub build: &'static str,
pub channel: &'static str,
pub channel_sha256: &'static str,
pub manifest: &'static str,
pub manifest_sha256: &'static str,
}Expand description
A Visual Studio build whose channel and installer manifest are held to hashes.
What rucc --fetch of an MSVC target starts from, where rucc --fetch-msvc-sdk starts from
whatever the aka.ms channel names today. The hashes are of the bytes as served, measured
rather than copied out of the channel, since the channel’s hash for its own manifest is the
wrong one. Every file after these two is held to the hash the pinned manifest gives for it, so
the whole download is fixed by these two lines.
Fields§
§build: &'static strThe build, which the channel has to say it is.
channel: &'static strWhere the channel manifest for this build is served.
channel_sha256: &'static strWhat the channel manifest hashes to.
manifest: &'static strWhere the installer manifest for this build is served, which is the URL its channel names.
manifest_sha256: &'static strWhat the installer manifest hashes to.