rust: 1.59.0 -> 1.60.0

rustc has upgraded from LLVM 13 to LLVM 14.

+69 -69
-64
pkgs/development/compilers/rust/1_59.nix
··· 1 - # New rust versions should first go to staging. 2 - # Things to check after updating: 3 - # 1. Rustc should produce rust binaries on x86_64-linux, aarch64-linux and x86_64-darwin: 4 - # i.e. nix-shell -p fd or @GrahamcOfBorg build fd on github 5 - # This testing can be also done by other volunteers as part of the pull 6 - # request review, in case platforms cannot be covered. 7 - # 2. The LLVM version used for building should match with rust upstream. 8 - # Check the version number in the src/llvm-project git submodule in: 9 - # https://github.com/rust-lang/rust/blob/<version-tag>/.gitmodules 10 - # 3. Firefox and Thunderbird should still build on x86_64-linux. 11 - 12 - { stdenv, lib 13 - , buildPackages 14 - , newScope, callPackage 15 - , CoreFoundation, Security, SystemConfiguration 16 - , pkgsBuildTarget, pkgsBuildBuild, pkgsBuildHost 17 - , makeRustPlatform 18 - , llvmPackages_11 19 - , llvmPackages_13, llvm_13 20 - } @ args: 21 - 22 - import ./default.nix { 23 - rustcVersion = "1.59.0"; 24 - rustcSha256 = "sha256-p8juruhb/O+EyWsCsxcdHmVA0VF5/4Pd3Z6vuhhfhfk="; 25 - 26 - llvmSharedForBuild = pkgsBuildBuild.llvmPackages_13.libllvm.override { enableSharedLibraries = true; }; 27 - llvmSharedForHost = pkgsBuildHost.llvmPackages_13.libllvm.override { enableSharedLibraries = true; }; 28 - llvmSharedForTarget = pkgsBuildTarget.llvmPackages_13.libllvm.override { enableSharedLibraries = true; }; 29 - 30 - llvmBootstrapForDarwin = llvmPackages_11; 31 - 32 - # For use at runtime 33 - llvmShared = llvm_13.override { enableSharedLibraries = true; }; 34 - 35 - # Expose llvmPackages used for rustc from rustc via passthru for LTO in Firefox 36 - llvmPackagesForBuild = pkgsBuildBuild.llvmPackages_13; 37 - 38 - # Note: the version MUST be one version prior to the version we're 39 - # building 40 - bootstrapVersion = "1.58.1"; 41 - 42 - # fetch hashes by running `print-hashes.sh ${bootstrapVersion}` 43 - bootstrapHashes = { 44 - i686-unknown-linux-gnu = "c3d282cd96cc9e5292e62db1ebb9fa6d5b738f4684d5ece9883f7472e2f76ad4"; 45 - x86_64-unknown-linux-gnu = "4fac6df9ea49447682c333e57945bebf4f9f45ec7b08849e507a64b2ccd5f8fb"; 46 - x86_64-unknown-linux-musl = "7036e34eadc8ce22d16b0625919d9f2244ca49a5441d6599f4822116c181d272"; 47 - arm-unknown-linux-gnueabihf = "739389d46c5862b0e67d01dece99aa3db2229e055a3d7f7624679c55b6c33e06"; 48 - armv7-unknown-linux-gnueabihf = "6cede2c7795e8126b0f17b1032d52500e594bac64c7d190bdc0ac1c832ef30bd"; 49 - aarch64-unknown-linux-gnu = "ce557516593e4526709b0f33c2e1d7c932b3ddf76af94c2417d8d667921ce90c"; 50 - aarch64-unknown-linux-musl = "b1533fdeeda483a3633617fd18a79d8fad7821331614b8dc13efd8b22acc30f5"; 51 - x86_64-apple-darwin = "d0044680fc132a721481b130a0a4282a444867f423efdb890fe13e447966412f"; 52 - aarch64-apple-darwin = "00b44985bc87e53c53d92622fb10226f09e9f25c79db48a77c0a769a36f83b1e"; 53 - powerpc64le-unknown-linux-gnu = "b15baef702cbd6f0ea2bef7bf98ca7ce5644f2beb219028e8a12e7053da4c849"; 54 - riscv64gc-unknown-linux-gnu = "d8ea2b11a4b24d1169fa3190127488b951b8bdef28293a4129ddd46c0ba9469b"; 55 - mips64el-unknown-linux-gnuabi64 = "4f03bc972ae784d4f66cfa77215b369723531e67f647de9f49ce9fc21e5691af"; 56 - }; 57 - 58 - selectRustPackage = pkgs: pkgs.rust_1_59; 59 - 60 - rustcPatches = [ 61 - ]; 62 - } 63 - 64 - (builtins.removeAttrs args [ "fetchpatch" "pkgsBuildHost" "llvmPackages_11" "llvmPackages_13" "llvm_13"])
···
+64
pkgs/development/compilers/rust/1_60.nix
···
··· 1 + # New rust versions should first go to staging. 2 + # Things to check after updating: 3 + # 1. Rustc should produce rust binaries on x86_64-linux, aarch64-linux and x86_64-darwin: 4 + # i.e. nix-shell -p fd or @GrahamcOfBorg build fd on github 5 + # This testing can be also done by other volunteers as part of the pull 6 + # request review, in case platforms cannot be covered. 7 + # 2. The LLVM version used for building should match with rust upstream. 8 + # Check the version number in the src/llvm-project git submodule in: 9 + # https://github.com/rust-lang/rust/blob/<version-tag>/.gitmodules 10 + # 3. Firefox and Thunderbird should still build on x86_64-linux. 11 + 12 + { stdenv, lib 13 + , buildPackages 14 + , newScope, callPackage 15 + , CoreFoundation, Security, SystemConfiguration 16 + , pkgsBuildTarget, pkgsBuildBuild, pkgsBuildHost 17 + , makeRustPlatform 18 + , llvmPackages_11 19 + , llvmPackages_14, llvm_14 20 + } @ args: 21 + 22 + import ./default.nix { 23 + rustcVersion = "1.60.0"; 24 + rustcSha256 = "1drqr0a26x1rb2w3kj0i6abhgbs3jx5qqkrcwbwdlx7n3inq5ji0"; 25 + 26 + llvmSharedForBuild = pkgsBuildBuild.llvmPackages_14.libllvm.override { enableSharedLibraries = true; }; 27 + llvmSharedForHost = pkgsBuildHost.llvmPackages_14.libllvm.override { enableSharedLibraries = true; }; 28 + llvmSharedForTarget = pkgsBuildTarget.llvmPackages_14.libllvm.override { enableSharedLibraries = true; }; 29 + 30 + llvmBootstrapForDarwin = llvmPackages_11; 31 + 32 + # For use at runtime 33 + llvmShared = llvm_14.override { enableSharedLibraries = true; }; 34 + 35 + # Expose llvmPackages used for rustc from rustc via passthru for LTO in Firefox 36 + llvmPackagesForBuild = pkgsBuildBuild.llvmPackages_14; 37 + 38 + # Note: the version MUST be one version prior to the version we're 39 + # building 40 + bootstrapVersion = "1.59.0"; 41 + 42 + # fetch hashes by running `print-hashes.sh ${bootstrapVersion}` 43 + bootstrapHashes = { 44 + i686-unknown-linux-gnu = "f57ebfafed1e857b2b1dc1a22cf1133766f68a0759dc2f717dec54a8d4385dec"; 45 + x86_64-unknown-linux-gnu = "0c1c2da3fa26372e5178123aa5bb0fdcd4933fbad9bfb268ffbd71807182ecae"; 46 + x86_64-unknown-linux-musl = "c0ae76fa4bb0f1c85b86b9f7637db0fddf5084ce4c8f86c4d4acc3c41813201f"; 47 + arm-unknown-linux-gnueabihf = "f934ddd8533d5df922e3397a5d30404930c5992c6c91c72d3e1475e2978e8793"; 48 + armv7-unknown-linux-gnueabihf = "acb0f793c517de927b17e1c85135f6d58ae7430a8bd094a92009bcf0d4bbb8eb"; 49 + aarch64-unknown-linux-gnu = "ab5da30a3de5433e26cbc74c56b9d97b569769fc2e456fc54378adc8baaee4f0"; 50 + aarch64-unknown-linux-musl = "a3f8afdf23c98e6d25bf3b4bfcf5e9a4712f4c425f3754500931232d946204a9"; 51 + x86_64-apple-darwin = "d82204f536af0c7bfd2ea2213dc46b99911860cfc5517f7321244412ae96f159"; 52 + aarch64-apple-darwin = "5449ae915982967bae97746ce8bea30844f9ab40b4ee4da392b9997e0e7b2926"; 53 + powerpc64le-unknown-linux-gnu = "6892a706ea8118344a4f4624b57a99460a784b5b30cccd9df430c33008d341f3"; 54 + riscv64gc-unknown-linux-gnu = "e0cb22c2383d73b3928c17a630ae8d37f6787ddcea7871c9b3e21fd4560226b2"; 55 + mips64el-unknown-linux-gnuabi64 = "2e2c404741b1dd02b5d73361f187568a91a8531997ade41bd855eca3972e2a5b"; 56 + }; 57 + 58 + selectRustPackage = pkgs: pkgs.rust_1_60; 59 + 60 + rustcPatches = [ 61 + ]; 62 + } 63 + 64 + (builtins.removeAttrs args [ "fetchpatch" "pkgsBuildHost" "llvmPackages_11" "llvmPackages_14" "llvm_14"])
+5 -5
pkgs/top-level/all-packages.nix
··· 13288 inherit (darwin) apple_sdk; 13289 }; 13290 13291 - rust_1_59 = callPackage ../development/compilers/rust/1_59.nix { 13292 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration; 13293 - llvm_13 = llvmPackages_13.libllvm; 13294 }; 13295 - rust = rust_1_59; 13296 13297 mrustc = callPackage ../development/compilers/mrustc { }; 13298 mrustc-minicargo = callPackage ../development/compilers/mrustc/minicargo.nix { }; 13299 mrustc-bootstrap = callPackage ../development/compilers/mrustc/bootstrap.nix { }; 13300 13301 - rustPackages_1_59 = rust_1_59.packages.stable; 13302 - rustPackages = rustPackages_1_59; 13303 13304 inherit (rustPackages) cargo clippy rustc rustPlatform; 13305
··· 13288 inherit (darwin) apple_sdk; 13289 }; 13290 13291 + rust_1_60 = callPackage ../development/compilers/rust/1_60.nix { 13292 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration; 13293 + llvm_14 = llvmPackages_14.libllvm; 13294 }; 13295 + rust = rust_1_60; 13296 13297 mrustc = callPackage ../development/compilers/mrustc { }; 13298 mrustc-minicargo = callPackage ../development/compilers/mrustc/minicargo.nix { }; 13299 mrustc-bootstrap = callPackage ../development/compilers/mrustc/bootstrap.nix { }; 13300 13301 + rustPackages_1_60 = rust_1_60.packages.stable; 13302 + rustPackages = rustPackages_1_60; 13303 13304 inherit (rustPackages) cargo clippy rustc rustPlatform; 13305