This is done in the redox branch but would need to be merged
https://github.com/redox-os/ion/blob/redox/src/main.rs#L372