File tree 3 files changed +3
-0
lines changed
3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ libgit2-sys = "0.12.24"
48
48
memchr = " 2.1.3"
49
49
num_cpus = " 1.0"
50
50
opener = " 0.5"
51
+ os_info = " 3.0.7"
51
52
percent-encoding = " 2.0"
52
53
rustfix = " 0.6.0"
53
54
semver = { version = " 1.0.3" , features = [" serde" ] }
Original file line number Diff line number Diff line change @@ -178,6 +178,7 @@ pub fn get_version_string(is_verbose: bool) -> String {
178
178
add_libgit2 ( & mut version_string) ;
179
179
add_curl ( & mut version_string) ;
180
180
add_ssl ( & mut version_string) ;
181
+ writeln ! ( version_string, "os: {}" , os_info:: get( ) ) . unwrap ( ) ;
181
182
}
182
183
version_string
183
184
}
Original file line number Diff line number Diff line change @@ -50,5 +50,6 @@ fn verbose() {
50
50
. with_stdout_contains ( "host: [..]" )
51
51
. with_stdout_contains ( "libgit2: [..]" )
52
52
. with_stdout_contains ( "libcurl: [..]" )
53
+ . with_stdout_contains ( "os: [..]" )
53
54
. run ( ) ;
54
55
}
You can’t perform that action at this time.
0 commit comments