`core.internal.convert.toUbyte`, and by extension `core.internal.hash.hashOf`, doesn't work in -betterC because of the CTFE path using dynamic allocation. See discussion at https://github.com/dlang/druntime/pull/2710
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17180 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB