Skip to content

Commit e284385

Browse files
committed
fix windows check
1 parent 7493403 commit e284385

File tree

11 files changed

+16
-3
lines changed

11 files changed

+16
-3
lines changed

examples/logs-basic/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "logs-basic"
33
version = "0.1.0"
44
edition = "2021"
55
license = "Apache-2.0"
6+
rust-version = "1.75.0"
67
publish = false
78
autobenches = false
89

examples/metrics-advanced/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "metrics-advanced"
33
version = "0.1.0"
44
edition = "2021"
55
license = "Apache-2.0"
6+
rust-version = "1.75.0"
67
publish = false
78
autobenches = false
89

examples/metrics-basic/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "metrics-basic"
33
version = "0.1.0"
44
edition = "2021"
55
license = "Apache-2.0"
6+
rust-version = "1.75.0"
67
publish = false
78
autobenches = false
89

examples/tracing-grpc/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "tracing-grpc"
33
version = "0.1.0"
44
edition = "2021"
55
license = "Apache-2.0"
6+
rust-version = "1.75.0"
67
publish = false
78
autobenches = false
89

examples/tracing-http-propagator/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "tracing-http-propagator"
33
version = "0.1.0"
44
edition = "2021"
55
license = "Apache-2.0"
6+
rust-version = "1.75.0"
67
publish = false
78
autobenches = false
89

opentelemetry-otlp/examples/basic-otlp-http/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "basic-otlp-http"
33
version = "0.1.0"
44
edition = "2021"
55
license = "Apache-2.0"
6+
rust-version = "1.75.0"
67
publish = false
78
autobenches = false
89

opentelemetry-otlp/examples/basic-otlp/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name = "basic-otlp"
33
version = "0.1.0"
44
edition = "2021"
55
license = "Apache-2.0"
6+
rust-version = "1.75.0"
67
publish = false
78
autobenches = false
89

opentelemetry-otlp/tests/integration_test/Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
name = "integration_test_runner"
33
version = "0.1.0"
44
edition = "2021"
5+
license = "Apache-2.0"
6+
rust-version = "1.75.0"
57
publish = false
68
autobenches = false
79

scripts/msrv.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ set -eu
55
members=$(cargo metadata -q --no-deps --format-version 1 | jq -r '.packages[].manifest_path')
66

77
for member in $members; do
8-
echo "Verifying MSRV version for $member"
9-
cargo msrv verify --manifest-path "$member" --output-format json
8+
# needed for windows CI run
9+
clean_member=$(printf '%s' "$member" | tr -d '\r')
10+
echo "Verifying MSRV version for $clean_member"
11+
cargo msrv verify --manifest-path "$clean_member" --output-format json
1012
echo "" # just for nicer separation between packages
1113
done

0 commit comments

Comments
 (0)