Skip to content

Commit 3550f3d

Browse files
committed
Update rustc_version, fix lint warning.
1 parent 3843e8d commit 3550f3d

File tree

10 files changed

+15
-5
lines changed

10 files changed

+15
-5
lines changed

crates/account_extras/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ anyhow.workspace = true
3333
tokio = { version = "1", features = ["full"] }
3434

3535
[build-dependencies]
36-
rustc_version = "0.4.0"
36+
rustc_version = "0.4.1"

crates/account_extras/build.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
use rustc_version::{version_meta, Channel};
22

33
fn main() {
4+
println!("cargo::rustc-check-cfg=cfg(CHANNEL_NIGHTLY)");
5+
46
// Set cfg flags depending on release channel
57
let channel = match version_meta().unwrap().channel {
68
Channel::Stable => "CHANNEL_STABLE",

crates/net/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,4 +98,4 @@ optional = true
9898
anyhow = "1"
9999

100100
[build-dependencies]
101-
rustc_version = "0.4.0"
101+
rustc_version = "0.4.1"

crates/net/build.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
use rustc_version::{version_meta, Channel};
22

33
fn main() {
4+
println!("cargo::rustc-check-cfg=cfg(CHANNEL_NIGHTLY)");
5+
46
// Set cfg flags depending on release channel
57
let channel = match version_meta().unwrap().channel {
68
Channel::Stable => "CHANNEL_STABLE",

crates/protocol/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ path = "../sdk"
4040
anyhow = "1"
4141

4242
[build-dependencies]
43-
rustc_version = "0.4.0"
43+
rustc_version = "0.4.1"
4444
prost-build = "0.13"
4545
protoc-bin-vendored = "3"

crates/protocol/build.rs

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ extern crate prost_build;
22
use rustc_version::{version_meta, Channel};
33

44
fn main() {
5+
println!("cargo::rustc-check-cfg=cfg(CHANNEL_NIGHTLY)");
6+
57
// Set cfg flags depending on release channel
68
let channel = match version_meta().unwrap().channel {
79
Channel::Stable => "CHANNEL_STABLE",

crates/sdk/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@ tokio = { version = "1", features = ["full"] }
119119
sos_test_utils = { path = "../test_utils" }
120120

121121
[build-dependencies]
122-
rustc_version = "0.4.0"
122+
rustc_version = "0.4.1"

crates/sdk/build.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
use rustc_version::{version_meta, Channel};
22

33
fn main() {
4+
println!("cargo::rustc-check-cfg=cfg(CHANNEL_NIGHTLY)");
5+
46
// Set cfg flags depending on release channel
57
let channel = match version_meta().unwrap().channel {
68
Channel::Stable => "CHANNEL_STABLE",

crates/server/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@ version = "0.1.0"
6363
path = "../cli_helpers"
6464

6565
[build-dependencies]
66-
rustc_version = "0.4.0"
66+
rustc_version = "0.4.1"

crates/server/build.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
use rustc_version::{version_meta, Channel};
22

33
fn main() {
4+
println!("cargo::rustc-check-cfg=cfg(CHANNEL_NIGHTLY)");
5+
46
// Set cfg flags depending on release channel
57
let channel = match version_meta().unwrap().channel {
68
Channel::Stable => "CHANNEL_STABLE",

0 commit comments

Comments
 (0)