Skip to content

Commit 318bb62

Browse files
committed
Pin cc version
1 parent 95608c5 commit 318bb62

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ debug = 1
1919
async-std = "1.10"
2020
async-trait = "0.1"
2121
bytes = "1"
22+
cc = "=1.0.105" # pinning version supporting rustc 1.65
2223
criterion = "0.5"
2324
futures-core = "0.3"
2425
futures-executor = "0.3"

opentelemetry/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ thiserror = { workspace = true }
3030
[target.'cfg(all(target_arch = "wasm32", not(target_os = "wasi")))'.dependencies]
3131
js-sys = "0.3.63"
3232

33+
# This cfg can't ever be enabled but cargo will respect it anyway.
34+
# Meaning we can use this to pin unused transitive dependencies.
35+
[target.'cfg(any())'.dependencies]
36+
cc = { workspace = true }
37+
3338
[features]
3439
default = ["trace", "metrics", "logs"]
3540
trace = ["pin-project-lite"]

0 commit comments

Comments
 (0)