Skip to content

Commit 0b2a374

Browse files
Auto merge of #146082 - nnethercote:triomphe-extending, r=<try>
Use `triomphe::ThinArc` in `TokenStream`.
2 parents be4e9b7 + f7bd072 commit 0b2a374

File tree

8 files changed

+214
-43
lines changed

8 files changed

+214
-43
lines changed

Cargo.lock

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3325,6 +3325,7 @@ dependencies = [
33253325
"smallvec",
33263326
"thin-vec",
33273327
"tracing",
3328+
"triomphe",
33283329
]
33293330

33303331
[[package]]
@@ -3615,6 +3616,7 @@ dependencies = [
36153616
"tempfile",
36163617
"thin-vec",
36173618
"tracing",
3619+
"triomphe",
36183620
"windows 0.61.3",
36193621
]
36203622

@@ -5601,6 +5603,16 @@ dependencies = [
56015603
"tracing-subscriber",
56025604
]
56035605

5606+
[[package]]
5607+
name = "triomphe"
5608+
version = "0.1.14"
5609+
source = "registry+https://github.com/rust-lang/crates.io-index"
5610+
checksum = "ef8f7726da4807b58ea5c96fdc122f80702030edc33b35aff9190a51148ccc85"
5611+
dependencies = [
5612+
"serde",
5613+
"stable_deref_trait",
5614+
]
5615+
56045616
[[package]]
56055617
name = "twox-hash"
56065618
version = "1.6.3"

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ serde_json = "1.0.142"
8484
tempfile = "3.20.0"
8585
thin-vec = "0.2.14"
8686
tracing = "0.1.37"
87+
triomphe = "0.1.14"
8788
# tidy-alphabetical-end
8889

8990
[profile.release.package.rustc_thread_pool]

compiler/rustc_ast/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ rustc_span = { path = "../rustc_span" }
1717
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
1818
thin-vec.workspace = true
1919
tracing.workspace = true
20+
triomphe.workspace = true # njn: hmm
2021
# tidy-alphabetical-end

0 commit comments

Comments
 (0)