[patch] allow propagation of Sys.big_endian in native code #5769
Original bug ID: 5769
When writing machine specific code like
let read_int32_little_endian v n =
It would be prettier to know that the compiler cleans the test rather than having to use a preprocessor for that.
The patch provided add a primitive %big_endian of type unit -> bool that calls a C stub in byte code and is simplified in native code
The text was updated successfully, but these errors were encountered: