See https://github.com/mdsol/crichton/pull/33/files#r5950353