lol

Merge pull request #112792 from Kloenk/rust_1-50-0

rust: 1.49.0 -> 1.50.0

authored by

Jörg Thalheim and committed by
GitHub
fc02aa17 d60c06f4

+61 -61
-57
pkgs/development/compilers/rust/1_49.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 16 - , pkgsBuildTarget, pkgsBuildBuild, pkgsBuildHost 17 - , makeRustPlatform 18 - , llvmPackages_5, llvm_11 19 - } @ args: 20 - 21 - import ./default.nix { 22 - rustcVersion = "1.49.0"; 23 - rustcSha256 = "0yf7kll517398dgqsr7m3gldzj0iwsp3ggzxrayckpqzvylfy2mm"; 24 - 25 - llvmSharedForBuild = pkgsBuildBuild.llvm_11.override { enableSharedLibraries = true; }; 26 - llvmSharedForHost = pkgsBuildHost.llvm_11.override { enableSharedLibraries = true; }; 27 - llvmSharedForTarget = pkgsBuildTarget.llvm_11.override { enableSharedLibraries = true; }; 28 - 29 - llvmBootstrapForDarwin = llvmPackages_5; 30 - 31 - # For use at runtime 32 - llvmShared = llvm_11.override { enableSharedLibraries = true; }; 33 - 34 - # Note: the version MUST be one version prior to the version we're 35 - # building 36 - bootstrapVersion = "1.48.0"; 37 - 38 - # fetch hashes by running `print-hashes.sh ${bootstrapVersion}` 39 - bootstrapHashes = { 40 - i686-unknown-linux-gnu = "7fdb8836a1f0427d5b47e6a2d496f67ebff04350407411f57cf20c9b3544e26f"; 41 - x86_64-unknown-linux-gnu = "950420a35b2dd9091f1b93a9ccd5abc026ca7112e667f246b1deb79204e2038b"; 42 - x86_64-unknown-linux-musl = "4ed9627f57b4e0b9807fc5e7513d9731f4791668b7f875b9e44e65e21072c56f"; 43 - arm-unknown-linux-gnueabihf = "e68a81eebd4570343a0fc35cb8ee24cad911d6cee2e374f284b76546ca6636d5"; 44 - armv7-unknown-linux-gnueabihf = "3aed4a63ebdd57690a31d11afbe95e6407edc224a6769be5694a1ed43bf899cb"; 45 - aarch64-unknown-linux-gnu = "c4769418d8d89f432e4a3a21ad60f99629e4b13bbfc29aef7d9d51c4e8ee8a8a"; 46 - aarch64-unknown-linux-musl = "ac4de580a28e45a9773b389b296d13bfeeb08263cb1f8343859577a54940dae9"; 47 - x86_64-apple-darwin = "20e727cad10f43e3abcedb2a80979ae26923038e0e8a855e8a783da255054113"; 48 - powerpc64le-unknown-linux-gnu = "e6457a0214f3b1b04bd5b2618bba7e3826e254216420dede2971b571a1c13bb1"; 49 - }; 50 - 51 - selectRustPackage = pkgs: pkgs.rust_1_49; 52 - 53 - rustcPatches = [ 54 - ]; 55 - } 56 - 57 - (builtins.removeAttrs args [ "fetchpatch" "pkgsBuildHost" "llvmPackages_5" "llvm_11"])
+57
pkgs/development/compilers/rust/1_50.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 16 + , pkgsBuildTarget, pkgsBuildBuild, pkgsBuildHost 17 + , makeRustPlatform 18 + , llvmPackages_5, llvm_11 19 + } @ args: 20 + 21 + import ./default.nix { 22 + rustcVersion = "1.50.0"; 23 + rustcSha256 = "0pjs7j62maiyvkmhp9zrxl528g2n0fphp4rq6ap7aqdv0a6qz5wm"; 24 + 25 + llvmSharedForBuild = pkgsBuildBuild.llvm_11.override { enableSharedLibraries = true; }; 26 + llvmSharedForHost = pkgsBuildHost.llvm_11.override { enableSharedLibraries = true; }; 27 + llvmSharedForTarget = pkgsBuildTarget.llvm_11.override { enableSharedLibraries = true; }; 28 + 29 + llvmBootstrapForDarwin = llvmPackages_5; 30 + 31 + # For use at runtime 32 + llvmShared = llvm_11.override { enableSharedLibraries = true; }; 33 + 34 + # Note: the version MUST be one version prior to the version we're 35 + # building 36 + bootstrapVersion = "1.49.0"; 37 + 38 + # fetch hashes by running `print-hashes.sh ${bootstrapVersion}` 39 + bootstrapHashes = { 40 + i686-unknown-linux-gnu = "5371bfa2c8e566aa283acdfa93d24b981c789d7c040ac1ca74e76bff1c7f6598"; 41 + x86_64-unknown-linux-gnu = "8b14446df82f3707d69cf58fed92f18e0bff91621c62baf89288ef70e3e92981"; 42 + x86_64-unknown-linux-musl = "f92a5a4adcfac4206a223d089a364a8375d1b6f112f3f2efa3f6d53d08a61904"; 43 + arm-unknown-linux-gnueabihf = "e5d93576eef874a9b22be9aa157cac5c8cdebebde8b57f0693248d4a589df42c"; 44 + armv7-unknown-linux-gnueabihf = "34ba3c979b144ef27d3c71d177cc1774551edf26e79d36719c86a51d9b9e34c0"; 45 + aarch64-unknown-linux-gnu = "b551bd482041307fa3373a687d6d6a2c4c0931c2e0a68b8b75dc80bc5cf5f002"; 46 + aarch64-unknown-linux-musl = "0a43d96a508c720520328112d609916d062f866a5c35f1db8f906284035d6d98"; 47 + x86_64-apple-darwin = "fe3e248bc4b0ee0a2595693687ad845c8a8bda824a56c9321520bcca02433716"; 48 + powerpc64le-unknown-linux-gnu = "365d7721dd2521e5dad12aa73651bad2be375e798e443636d2c523cad5b54359"; 49 + }; 50 + 51 + selectRustPackage = pkgs: pkgs.rust_1_50; 52 + 53 + rustcPatches = [ 54 + ]; 55 + } 56 + 57 + (builtins.removeAttrs args [ "fetchpatch" "pkgsBuildHost" "llvmPackages_5" "llvm_11"])
+4 -4
pkgs/top-level/all-packages.nix
··· 10887 10887 rust_1_45 = callPackage ../development/compilers/rust/1_45.nix { 10888 10888 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; 10889 10889 }; 10890 - rust_1_49 = callPackage ../development/compilers/rust/1_49.nix { 10890 + rust_1_50 = callPackage ../development/compilers/rust/1_50.nix { 10891 10891 inherit (darwin.apple_sdk.frameworks) CoreFoundation Security; 10892 10892 }; 10893 - rust = rust_1_49; 10893 + rust = rust_1_50; 10894 10894 10895 10895 rustPackages_1_45 = rust_1_45.packages.stable; 10896 - rustPackages_1_49 = rust_1_49.packages.stable; 10897 - rustPackages = rustPackages_1_49; 10896 + rustPackages_1_50 = rust_1_50.packages.stable; 10897 + rustPackages = rustPackages_1_50; 10898 10898 10899 10899 inherit (rustPackages) cargo clippy rustc rustPlatform; 10900 10900