* Make more code work with no_std. no_std support is still incomplete, but this patch takes care of the bulk of the straightforward parts.
This follows a similar change to Cranelift made here: https://github.com/CraneStation/cranelift/pull/660