File tree Expand file tree Collapse file tree
clang-installer/src/downloader Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,7 +65,6 @@ impl StaticDistDownloader {
6565 /// `MAX_CLANG_TOOLS_VERSION` environment variables (inclusive) at compile time.
6666 fn find_suitable_version ( req_ver : & VersionReq ) -> Option < Version > {
6767 let clang_tools_versions: RangeInclusive < u8 > = Self :: get_major_version_range ( ) ;
68- println ! ( "Available clang tools versions: {clang_tools_versions:?}" ) ;
6968 clang_tools_versions
7069 . map ( |v| Version :: new ( v as u64 , 0 , 0 ) )
7170 . rev ( )
@@ -161,7 +160,7 @@ impl StaticDistDownloader {
161160 sha512_cache_path. to_string_lossy( )
162161 ) ;
163162 } else {
164- let sha512_url = Url :: parse ( format ! ( "{base_url}.sha512sum" ) . as_str ( ) ) ?;
163+ let sha512_url = Url :: parse ( format ! ( "{base_url}{suffix} .sha512sum" ) . as_str ( ) ) ?;
165164 log:: info!(
166165 "Downloading SHA512 checksum for {tool} version {ver_str} from {sha512_url}"
167166 ) ;
You can’t perform that action at this time.
0 commit comments