diff options
| author | Joe Richey <joerichey@google.com> | 2020-10-26 03:46:54 -0700 |
|---|---|---|
| committer | Joe Richey <joerichey@google.com> | 2020-10-26 03:46:54 -0700 |
| commit | ad552bc17e9e494e039f3db180d4e63be44fe889 (patch) | |
| tree | c4da6484ef1f97be8927e8b96b6dc115ed1ddb70 /compiler/rustc_feature/src | |
| parent | 8e6f69afc9b0943003ce51a53d1f59611e6601a3 (diff) | |
| download | rust-ad552bc17e9e494e039f3db180d4e63be44fe889.tar.gz rust-ad552bc17e9e494e039f3db180d4e63be44fe889.zip | |
Add compiler support for LLVM's x86 ERMSB feature
This change is needed for compiler-builtins to check for this feature when implementing memcpy/memset. See: https://github.com/rust-lang/compiler-builtins/pull/365 The change just does compile-time detection. I think that runtime detection will have to come in a follow-up CL to std-detect. Like all the CPU feature flags, this just references #44839 Signed-off-by: Joe Richey <joerichey@google.com>
Diffstat (limited to 'compiler/rustc_feature/src')
| -rw-r--r-- | compiler/rustc_feature/src/active.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/active.rs b/compiler/rustc_feature/src/active.rs index 7fbd070a609..cca4fc4cb0c 100644 --- a/compiler/rustc_feature/src/active.rs +++ b/compiler/rustc_feature/src/active.rs @@ -238,6 +238,7 @@ declare_features! ( (active, rtm_target_feature, "1.35.0", Some(44839), None), (active, f16c_target_feature, "1.36.0", Some(44839), None), (active, riscv_target_feature, "1.45.0", Some(44839), None), + (active, ermsb_target_feature, "1.49.0", Some(44839), None), // ------------------------------------------------------------------------- // feature-group-end: actual feature gates (target features) |
