On some systems (namely Windows), syscall.Rlimit is not defined, and makes the build fail. This fixes the build by making the rlimit calls only run on archs where it is defined, defaulting to a stub on other systems. See: 8427429c59
8427429c59