Add the sha512, sm3 and sm4 target features

Add the feature in `core/lib.rs`
This commit is contained in:
sayantn 2024-08-01 23:13:51 +05:30
parent e60ebb2f2c
commit 41b017ec99
10 changed files with 38 additions and 2 deletions

View file

@ -238,6 +238,9 @@ const X86_ALLOWED_FEATURES: &[(&str, Stability)] = &[
("rdseed", Stable),
("rtm", Unstable(sym::rtm_target_feature)),
("sha", Stable),
("sha512", Unstable(sym::sha512_sm_x86)),
("sm3", Unstable(sym::sha512_sm_x86)),
("sm4", Unstable(sym::sha512_sm_x86)),
("sse", Stable),
("sse2", Stable),
("sse3", Stable),