Commit eaba4903 authored by Romain's avatar Romain Committed by Benjamin Canou

Node: only run in 64bit

parent c018db1e
Pipeline #106191662 failed with stages
in 1 minute and 27 seconds
......@@ -24,6 +24,13 @@
(* *)
(*****************************************************************************)
(* This can be removed once the protocol is fixed
(currently there is [to_int Int32.max_int] which is obviously invalid). *)
let () =
if Sys.word_size <> 64 then (
prerr_endline "Non-64 bit architectures are not supported." ;
exit 1 )
let () =
let log s = Node_logging.fatal_error "%s" s in
Lwt_exit.exit_on ~log Sys.sigint ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment