[sledge] Change: Include ocaml version in version info

Reviewed By: jvillard

Differential Revision: D21923489

fbshipit-source-id: aba2ec248
master
Josh Berdine 5 years ago committed by Facebook GitHub Bot
parent 81478df4b7
commit 70c4db27a9

@ -34,7 +34,9 @@ let build_info =
max n (String.length name) ) max n (String.length name) )
in in
String.concat ~sep:"\n" String.concat ~sep:"\n"
( "statically linked libraries:" ( "ocaml:"
:: Sys.ocaml_version
:: "statically linked libraries:"
:: List.map libs ~f:(fun (name, v) -> :: List.map libs ~f:(fun (name, v) ->
Printf.sprintf "- %-*s %s" max_length name v ) Printf.sprintf "- %-*s %s" max_length name v )
@ ["version:"] ) @ ["version:"] )

Loading…
Cancel
Save