rustc: 1.62.1 -> 1.63.0

+68 -68
-64
pkgs/development/compilers/rust/1_62.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.62.1"; 24 - rustcSha256 = "sha256-cqy+b/zZT1mDgqdDCw2F7o9nnm0LJ/P1Zu0cFsl4Ez8="; 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 - llvmPackages = llvmPackages_14; 37 - 38 - # Note: the version MUST be one version prior to the version we're 39 - # building 40 - bootstrapVersion = "1.61.0"; 41 - 42 - # fetch hashes by running `print-hashes.sh ${bootstrapVersion}` 43 - bootstrapHashes = { 44 - i686-unknown-linux-gnu = "b15eb0ad44b7253e0b5b1a8cd285feb10e9fb0402840dba9a13112c3349a4b39"; 45 - x86_64-unknown-linux-gnu = "066b324239d30787ce64142d7e04912f2e1850c07db3b2354d8654e02ff8b23a"; 46 - x86_64-unknown-linux-musl = "0904f6b769ae28c259e0e25a41e99290a4ae2a36bca63ae153790b2ebbc427bf"; 47 - arm-unknown-linux-gnueabihf = "cc32705cd1b583aaac74e6663f71392131dc0355a0f484cb56f0378b71ea7ebc"; 48 - armv7-unknown-linux-gnueabihf = "2782ec75ea4abb402513e2e57becc6c14e67b492d57228cddedef6db0853b165"; 49 - aarch64-unknown-linux-gnu = "261cd47bc3c98c9f97b601d1ad2a7d9b33c9ea63c9a351119c2f6d4e82f5d436"; 50 - aarch64-unknown-linux-musl = "feb79985cb161a10b252236852df8db3bf3593c78905b84c7e94cd4454327e47"; 51 - x86_64-apple-darwin = "d851f1a473926a5d8f111ed08002047a5dc4ad944a5b7f8d5d2f1f266b51e66a"; 52 - aarch64-apple-darwin = "2dbafd13d007543aada47179fa273f9a3865f27e0a07bd69be61801232a0819e"; 53 - powerpc64le-unknown-linux-gnu = "6d5cd579b68a2adc20384406c69a92beaaf4941056e126ff0ed1ec2f3a4e721f"; 54 - riscv64gc-unknown-linux-gnu = "3d0f3b1a8522e09fffdf920a061794ac3107410eb1fe8f5d62a7aae3c6dcb81e"; 55 - mips64el-unknown-linux-gnuabi64 = "6ed5b6492e68f45488108abd06dbcd4b89c46cdbd4715331bb11e88f18500815"; 56 - }; 57 - 58 - selectRustPackage = pkgs: pkgs.rust_1_62; 59 - 60 - rustcPatches = [ 61 - ]; 62 - } 63 - 64 - (builtins.removeAttrs args [ "fetchpatch" "pkgsBuildHost" "llvmPackages_11" "llvmPackages_14" "llvm_14"])
···
+64
pkgs/development/compilers/rust/1_63.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.63.0"; 24 + rustcSha256 = "1l4rrbzhxv88pnfq94nbyb9m6lfnjwixma3mwjkmvvs2aqlq158z"; 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 + llvmPackages = llvmPackages_14; 37 + 38 + # Note: the version MUST be one version prior to the version we're 39 + # building 40 + bootstrapVersion = "1.62.1"; 41 + 42 + # fetch hashes by running `print-hashes.sh ${bootstrapVersion}` 43 + bootstrapHashes = { 44 + i686-unknown-linux-gnu = "1669163ffe01e252ffb62da7d84949378fc274931a65ac827d54059a5ffc542c"; 45 + x86_64-unknown-linux-gnu = "dd7d82b8fa8eae59729e1c31fe59a9de6ee61d08ab40ce016185653beebe04d2"; 46 + x86_64-unknown-linux-musl = "32bee487074b105e2582cddce35934a6019eec74bae3f9300fdc3edfcf5b66d4"; 47 + arm-unknown-linux-gnueabihf = "5c735e8174d394936d7b499c2d147ddadf3c4d77e652d1e0b0a72d9d09f81ea4"; 48 + armv7-unknown-linux-gnueabihf = "26fa731385f1a71211ba8e3c94f3bb3b1a82bde89f8d4dcf75b4b463b57b0f88"; 49 + aarch64-unknown-linux-gnu = "1311fa8204f895d054c23a3481de3b158a5cd3b3a6338761fee9cdf4dbf075a5"; 50 + aarch64-unknown-linux-musl = "73bbab4d8a9e3c416035d40406e656ab37e785df35fa069a33af52e931a24b12"; 51 + x86_64-apple-darwin = "0a04dcf2b521239826f3eaa66d77169d91e68087ccc3107b54e8aba7c02c9adf"; 52 + aarch64-apple-darwin = "6d1671ea31b05cab5e2587cc2b295b3e7232b0135f0977355618e2a01933ff0a"; 53 + powerpc64le-unknown-linux-gnu = "1d3248e1a673cda87cf443cd4334ff5fb53e6f87c72d3587b07e5c0cb507f3ae"; 54 + riscv64gc-unknown-linux-gnu = "fd378d0bf866689e8111aba0e2b020da87f32f70fb11d98a575d42dc05978c2a"; 55 + mips64el-unknown-linux-gnuabi64 = "b7c47dd94728161aa96762fb7bc51b6ab0feba7c5215d06eaea5b78649815a96"; 56 + }; 57 + 58 + selectRustPackage = pkgs: pkgs.rust_1_63; 59 + 60 + rustcPatches = [ 61 + ]; 62 + } 63 + 64 + (builtins.removeAttrs args [ "fetchpatch" "pkgsBuildHost" "llvmPackages_11" "llvmPackages_14" "llvm_14"])
+4 -4
pkgs/top-level/all-packages.nix
··· 14160 inherit (darwin) apple_sdk; 14161 }; 14162 14163 - rust_1_62 = callPackage ../development/compilers/rust/1_62.nix { 14164 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration; 14165 llvm_14 = llvmPackages_14.libllvm; 14166 }; 14167 - rust = rust_1_62; 14168 14169 mrustc = callPackage ../development/compilers/mrustc { }; 14170 mrustc-minicargo = callPackage ../development/compilers/mrustc/minicargo.nix { }; 14171 mrustc-bootstrap = callPackage ../development/compilers/mrustc/bootstrap.nix { stdenv = gcc10StdenvCompat; }; 14172 14173 - rustPackages_1_62 = rust_1_62.packages.stable; 14174 - rustPackages = rustPackages_1_62; 14175 14176 inherit (rustPackages) cargo clippy rustc rustPlatform; 14177
··· 14160 inherit (darwin) apple_sdk; 14161 }; 14162 14163 + rust_1_63 = callPackage ../development/compilers/rust/1_63.nix { 14164 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security SystemConfiguration; 14165 llvm_14 = llvmPackages_14.libllvm; 14166 }; 14167 + rust = rust_1_63; 14168 14169 mrustc = callPackage ../development/compilers/mrustc { }; 14170 mrustc-minicargo = callPackage ../development/compilers/mrustc/minicargo.nix { }; 14171 mrustc-bootstrap = callPackage ../development/compilers/mrustc/bootstrap.nix { stdenv = gcc10StdenvCompat; }; 14172 14173 + rustPackages_1_63 = rust_1_63.packages.stable; 14174 + rustPackages = rustPackages_1_63; 14175 14176 inherit (rustPackages) cargo clippy rustc rustPlatform; 14177