diff options
| author | sayantn <sayantan.chakraborty@students.iiserpune.ac.in> | 2024-08-01 23:13:51 +0530 |
|---|---|---|
| committer | sayantn <sayantan.chakraborty@students.iiserpune.ac.in> | 2024-08-02 02:29:15 +0530 |
| commit | 41b017ec9945ce6b514e44b8dd26c9d0c0952c9c (patch) | |
| tree | 3ad8d22d9bd266b5e2a137352400034f527234db /compiler/rustc_feature | |
| parent | e60ebb2f2c1facba87e7971798f3cbdfd309cd23 (diff) | |
| download | rust-41b017ec9945ce6b514e44b8dd26c9d0c0952c9c.tar.gz rust-41b017ec9945ce6b514e44b8dd26c9d0c0952c9c.zip | |
Add the `sha512`, `sm3` and `sm4` target features
Add the feature in `core/lib.rs`
Diffstat (limited to 'compiler/rustc_feature')
| -rw-r--r-- | compiler/rustc_feature/src/unstable.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs index 03210085a12..86102bbecd0 100644 --- a/compiler/rustc_feature/src/unstable.rs +++ b/compiler/rustc_feature/src/unstable.rs @@ -591,6 +591,8 @@ declare_features! ( (incomplete, return_type_notation, "1.70.0", Some(109417)), /// Allows `extern "rust-cold"`. (unstable, rust_cold_cc, "1.63.0", Some(97544)), + /// Allows use of x86 SHA512, SM3 and SM4 target-features and intrinsics + (unstable, sha512_sm_x86, "CURRENT_RUSTC_VERSION", Some(126624)), /// Shortern the tail expression lifetime (unstable, shorter_tail_lifetimes, "1.79.0", Some(123739)), /// Allows the use of SIMD types in functions declared in `extern` blocks. |
