aboutsummaryrefslogtreecommitdiff
path: root/lib/include
diff options
context:
space:
mode:
authorCody Tapscott <topolarity@tapscott.me>2022-10-28 08:24:12 -0700
committerCody Tapscott <topolarity@tapscott.me>2022-10-28 15:21:10 -0700
commitf9fe548e41a41e3edcff4d30f495246d0fee145b (patch)
tree30a80aa37a47e5cd4f58b62df331506b12ac6f43 /lib/include
parent4c1f71e866088a1a2e943331256115ed7e3daf98 (diff)
downloadzig-f9fe548e41a41e3edcff4d30f495246d0fee145b.tar.gz
zig-f9fe548e41a41e3edcff4d30f495246d0fee145b.zip
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.
Diffstat (limited to 'lib/include')
0 files changed, 0 insertions, 0 deletions