Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
std.crypto: Add
isComptime
guard around intrinsics
Comptime code can't execute assembly code, so we need some way to force comptime code to use the generic path. This should be replaced with whatever is implemented for #868, when that day comes. I am seeing that the result for the hash is incorrect in stage1 and crashes stage2, so presumably this never worked correctly. I will follow up on that soon.
- Loading branch information