Currently if an intrinsic is marked const, its body needs to be const as well. This makes sense when the body is providing the comptime implementation, but is limiting in cases where CTFE hooks the function so the fallback would only ever be called in non-const contexts.
Noticed in #150946
Currently if an intrinsic is marked
const, its body needs to beconstas well. This makes sense when the body is providing the comptime implementation, but is limiting in cases where CTFE hooks the function so the fallback would only ever be called in non-const contexts.Noticed in #150946