Skip to content

Commit 59af7e2

Browse files
authored
chore: Prevent libtest being added to bench builds (#2705)
1 parent 64549d7 commit 59af7e2

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

opentelemetry-appender-tracing/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,8 @@ name = "logs"
4444
harness = false
4545
required-features = ["spec_unstable_logs_enabled"]
4646

47+
[lib]
48+
bench = false
49+
4750
[lints]
4851
workspace = true

opentelemetry-sdk/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,5 +108,8 @@ name = "log"
108108
harness = false
109109
required-features = ["logs"]
110110

111+
[lib]
112+
bench = false
113+
111114
[lints]
112115
workspace = true

opentelemetry/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,5 +57,8 @@ harness = false
5757
name = "anyvalue"
5858
harness = false
5959

60+
[lib]
61+
bench = false
62+
6063
[lints]
6164
workspace = true

0 commit comments

Comments
 (0)