[build] remove rust channel check
@@ -15,11 +15,6 @@ fn main() {
println!("cargo:rerun-if-changed=.git/HEAD");
}
- println!("cargo:rerun-if-env-changed=CFG_RELEASE_CHANNEL");
- if option_env!("CFG_RELEASE_CHANNEL").map_or(true, |c| c == "nightly" || c == "dev") {
- println!("cargo:rustc-cfg=nightly");
- }
-
create_version_info();
build_proto();
}
