File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,14 +2,6 @@ use std::fs::File;
22use std:: io:: Write ;
33use std:: { env, fs, path:: PathBuf } ;
44
5- // Keep in sync with Cargo.toml.
6- //
7- // We don't populate this automatically from the Cargo.toml at build time
8- // because doing so would require a heavy-weight deserialization lib dependency
9- // (and it couldn't be a _dev_ dep for use in a build script) or doing brittle
10- // by-hand parsing.
11- const RUSTLS_CRATE_VERSION : & str = "0.23.37" ;
12-
135fn main ( ) {
146 let out_dir = PathBuf :: from ( env:: var_os ( "OUT_DIR" ) . unwrap ( ) ) ;
157 let include_dir = out_dir. join ( "include" ) ;
@@ -38,3 +30,11 @@ fn main() {
3830
3931 println ! ( "cargo:rerun-if-env-changed=CARGO_PKG_VERSION" ) ;
4032}
33+
34+ // Keep in sync with Cargo.toml.
35+ //
36+ // We don't populate this automatically from the Cargo.toml at build time
37+ // because doing so would require a heavy-weight deserialization lib dependency
38+ // (and it couldn't be a _dev_ dep for use in a build script) or doing brittle
39+ // by-hand parsing.
40+ const RUSTLS_CRATE_VERSION : & str = "0.23.37" ;
You can’t perform that action at this time.
0 commit comments