rustc-demangle: 0.1.20 → 0.1.26, enable on darwin (#447848)

authored by Nikolay Korotkiy and committed by GitHub ac4960ff 228ba700

Changed files
+105 -30
pkgs
by-name
ru
rustc-demangle
+95 -19
pkgs/by-name/ru/rustc-demangle/Cargo.lock
··· 1 1 # This file is automatically @generated by Cargo. 2 2 # It is not intended for manual editing. 3 - version = 3 3 + version = 4 4 4 5 5 [[package]] 6 6 name = "arbitrary" 7 - version = "1.0.1" 7 + version = "1.4.2" 8 8 source = "registry+https://github.com/rust-lang/crates.io-index" 9 - checksum = "237430fd6ed3740afe94eefcc278ae21e050285be882804e0d6e8695f0c94691" 9 + checksum = "c3d036a3c4ab069c7b410a2ce876bd74808d2d0888a82667669f8e783a898bf1" 10 10 11 11 [[package]] 12 12 name = "cc" 13 - version = "1.0.69" 13 + version = "1.2.39" 14 + source = "registry+https://github.com/rust-lang/crates.io-index" 15 + checksum = "e1354349954c6fc9cb0deab020f27f783cf0b604e8bb754dc4658ecf0d29c35f" 16 + dependencies = [ 17 + "find-msvc-tools", 18 + "jobserver", 19 + "libc", 20 + "shlex", 21 + ] 22 + 23 + [[package]] 24 + name = "cfg-if" 25 + version = "1.0.3" 26 + source = "registry+https://github.com/rust-lang/crates.io-index" 27 + checksum = "2fd1289c04a9ea8cb22300a459a72a385d7c73d3259e2ed7dcb2af674838cfa9" 28 + 29 + [[package]] 30 + name = "find-msvc-tools" 31 + version = "0.1.2" 32 + source = "registry+https://github.com/rust-lang/crates.io-index" 33 + checksum = "1ced73b1dacfc750a6db6c0a0c3a3853c8b41997e2e2c563dc90804ae6867959" 34 + 35 + [[package]] 36 + name = "getrandom" 37 + version = "0.3.3" 14 38 source = "registry+https://github.com/rust-lang/crates.io-index" 15 - checksum = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2" 39 + checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4" 40 + dependencies = [ 41 + "cfg-if", 42 + "libc", 43 + "r-efi", 44 + "wasi", 45 + ] 16 46 17 47 [[package]] 18 - name = "compiler_builtins" 19 - version = "0.1.49" 48 + name = "jobserver" 49 + version = "0.1.34" 20 50 source = "registry+https://github.com/rust-lang/crates.io-index" 21 - checksum = "20b1438ef42c655665a8ab2c1c6d605a305f031d38d9be689ddfef41a20f3aa2" 51 + checksum = "9afb3de4395d6b3e67a780b6de64b51c978ecf11cb9a462c66be7d4ca9039d33" 52 + dependencies = [ 53 + "getrandom", 54 + "libc", 55 + ] 56 + 57 + [[package]] 58 + name = "libc" 59 + version = "0.2.176" 60 + source = "registry+https://github.com/rust-lang/crates.io-index" 61 + checksum = "58f929b4d672ea937a23a1ab494143d968337a5f47e56d0815df1e0890ddf174" 22 62 23 63 [[package]] 24 64 name = "libfuzzer-sys" 25 - version = "0.4.2" 65 + version = "0.4.10" 26 66 source = "registry+https://github.com/rust-lang/crates.io-index" 27 - checksum = "36a9a84a6e8b55dfefb04235e55edb2b9a2a18488fcae777a6bdaa6f06f1deb3" 67 + checksum = "5037190e1f70cbeef565bd267599242926f724d3b8a9f510fd7e0b540cfa4404" 28 68 dependencies = [ 29 69 "arbitrary", 30 70 "cc", 31 - "once_cell", 32 71 ] 33 72 34 73 [[package]] 35 - name = "once_cell" 36 - version = "1.8.0" 74 + name = "r-efi" 75 + version = "5.3.0" 37 76 source = "registry+https://github.com/rust-lang/crates.io-index" 38 - checksum = "692fcb63b64b1758029e0a96ee63e049ce8c5948587f2f7208df04625e5f6b56" 77 + checksum = "69cdb34c158ceb288df11e18b4bd39de994f6657d83847bdffdbd7f346754b0f" 39 78 40 79 [[package]] 41 80 name = "rustc-demangle" 42 - version = "0.1.20" 81 + version = "0.1.26" 43 82 dependencies = [ 44 - "compiler_builtins", 45 83 "rustc-std-workspace-core", 46 84 ] 47 85 48 86 [[package]] 49 87 name = "rustc-demangle-capi" 50 - version = "0.1.0" 88 + version = "0.1.2" 51 89 dependencies = [ 52 90 "rustc-demangle", 53 91 ] ··· 58 96 dependencies = [ 59 97 "libfuzzer-sys", 60 98 "rustc-demangle", 99 + "rustc-demangle-native-c", 100 + ] 101 + 102 + [[package]] 103 + name = "rustc-demangle-native-c" 104 + version = "0.1.0" 105 + dependencies = [ 106 + "cc", 61 107 ] 62 108 63 109 [[package]] 64 110 name = "rustc-std-workspace-core" 65 - version = "1.0.0" 111 + version = "1.0.1" 112 + source = "registry+https://github.com/rust-lang/crates.io-index" 113 + checksum = "aa9c45b374136f52f2d6311062c7146bff20fec063c3f5d46a410bd937746955" 114 + 115 + [[package]] 116 + name = "shlex" 117 + version = "1.3.0" 66 118 source = "registry+https://github.com/rust-lang/crates.io-index" 67 - checksum = "1956f5517128a2b6f23ab2dadf1a976f4f5b27962e7724c2bf3d45e539ec098c" 119 + checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" 120 + 121 + [[package]] 122 + name = "wasi" 123 + version = "0.14.7+wasi-0.2.4" 124 + source = "registry+https://github.com/rust-lang/crates.io-index" 125 + checksum = "883478de20367e224c0090af9cf5f9fa85bed63a95c1abf3afc5c083ebc06e8c" 126 + dependencies = [ 127 + "wasip2", 128 + ] 129 + 130 + [[package]] 131 + name = "wasip2" 132 + version = "1.0.1+wasi-0.2.4" 133 + source = "registry+https://github.com/rust-lang/crates.io-index" 134 + checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7" 135 + dependencies = [ 136 + "wit-bindgen", 137 + ] 138 + 139 + [[package]] 140 + name = "wit-bindgen" 141 + version = "0.46.0" 142 + source = "registry+https://github.com/rust-lang/crates.io-index" 143 + checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
+10 -11
pkgs/by-name/ru/rustc-demangle/package.nix
··· 7 7 8 8 rustPlatform.buildRustPackage rec { 9 9 pname = "rustc-demangle"; 10 - version = "0.1.20"; 10 + version = "0.1.26"; 11 11 12 12 src = fetchFromGitHub { 13 - owner = "alexcrichton"; 13 + owner = "rust-lang"; 14 14 repo = "rustc-demangle"; 15 - rev = version; 16 - sha256 = "sha256-elxclyuLmr3N66s+pR4/6OU98k1oXI2wKVJtzWPY8FI="; 15 + tag = "rustc-demangle-v${version}"; 16 + hash = "sha256-4/x3kUIKi3xnDRznr+6xmPeWHmhlpbuwSNH3Ej6+Ifc="; 17 17 }; 18 18 19 19 cargoLock = { ··· 32 32 33 33 postInstall = '' 34 34 mkdir -p $out/lib 35 - cp target/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/librustc_demangle.so $out/lib 35 + cp target/${stdenv.hostPlatform.rust.rustcTargetSpec}/release/librustc_demangle${stdenv.hostPlatform.extensions.sharedLibrary} $out/lib 36 36 cp -R crates/capi/include $out 37 37 ''; 38 38 39 - meta = with lib; { 39 + meta = { 40 40 description = "Rust symbol demangling"; 41 - homepage = "https://github.com/alexcrichton/rustc-demangle"; 42 - license = with licenses; [ 41 + homepage = "https://github.com/rust-lang/rustc-demangle"; 42 + license = with lib.licenses; [ 43 43 asl20 44 44 mit 45 45 ]; 46 - # upstream supports other platforms, but maintainer can only test on linux 47 - platforms = platforms.linux; 48 - maintainers = with maintainers; [ _1000teslas ]; 46 + platforms = lib.platforms.unix; 47 + maintainers = with lib.maintainers; [ _1000teslas ]; 49 48 }; 50 49 }