aboutsummaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-03-09 20:57:04 +0000
committerGitHub <[email protected]>2021-03-09 20:57:04 +0000
commit654313dbc7fdfc839b79592c5a06dfe8597d55b3 (patch)
tree064328d3e2417144ad3de1e4f67b9f82172ccd05 /Cargo.lock
parent4bb120c7a6abed6425534876b86d214440ba1d9a (diff)
parentad34e79bb9818cc9bf3d0cf746bd052a67c7bab9 (diff)
Merge #6822
6822: Read version of rustc that compiled proc macro r=edwin0cheng a=jsomedon Signed-off-by: Jay Somedon <[email protected]> This PR is to fix #6174. I basically * added two methods, `read_version` and `read_section`(used by `read_version`) * two new crates `snap` and `object` to be used by those two methods I just noticed that some part of code were auto-reformatted by rust-analyzer on file save. Does it matter? Co-authored-by: Jay Somedon <[email protected]> Co-authored-by: Edwin Cheng <[email protected]>
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock19
1 files changed, 19 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 51a07abe3..87cf1bf27 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -897,6 +897,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
897checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525" 897checksum = "0ee1c47aaa256ecabcaea351eae4a9b01ef39ed810004e298d2511ed284b1525"
898 898
899[[package]] 899[[package]]
900name = "memmap"
901version = "0.7.0"
902source = "registry+https://github.com/rust-lang/crates.io-index"
903checksum = "6585fd95e7bb50d6cc31e20d4cf9afb4e2ba16c5846fc76793f11218da9c475b"
904dependencies = [
905 "libc",
906 "winapi",
907]
908
909[[package]]
900name = "memmap2" 910name = "memmap2"
901version = "0.2.1" 911version = "0.2.1"
902source = "registry+https://github.com/rust-lang/crates.io-index" 912source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1159,8 +1169,11 @@ dependencies = [
1159 "crossbeam-channel", 1169 "crossbeam-channel",
1160 "jod-thread", 1170 "jod-thread",
1161 "log", 1171 "log",
1172 "memmap",
1173 "object",
1162 "serde", 1174 "serde",
1163 "serde_json", 1175 "serde_json",
1176 "snap",
1164 "stdx", 1177 "stdx",
1165 "tt", 1178 "tt",
1166] 1179]
@@ -1546,6 +1559,12 @@ dependencies = [
1546] 1559]
1547 1560
1548[[package]] 1561[[package]]
1562name = "snap"
1563version = "1.0.4"
1564source = "registry+https://github.com/rust-lang/crates.io-index"
1565checksum = "dc725476a1398f0480d56cd0ad381f6f32acf2642704456f8f59a35df464b59a"
1566
1567[[package]]
1549name = "socket2" 1568name = "socket2"
1550version = "0.3.19" 1569version = "0.3.19"
1551source = "registry+https://github.com/rust-lang/crates.io-index" 1570source = "registry+https://github.com/rust-lang/crates.io-index"