We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
dummy
1 parent 47b929d commit 876b08cCopy full SHA for 876b08c
crates/core_arch/src/mod.rs
@@ -325,15 +325,3 @@ mod nvptx;
325
#[cfg(any(target_arch = "loongarch64", doc))]
326
#[doc(cfg(target_arch = "loongarch64"))]
327
mod loongarch64;
328
-
329
-// TODO: remove after merge of rustc #126704
330
-#[unstable(feature = "sha512_sm_x86", issue = "126624")]
331
-unsafe fn dummy() {
332
- // This has to be here until PR #126704 gets merged into rustc,
333
- // because otherwise rustc cannot compile because aarch64 also has
334
- // a target feature named sm4, and that is stable. For `doc` env this
335
- // gets compiled also in x86, but in x86 the feature sm4 is unstable
336
- // So we need `feature(sha512_sm_x86)` somewhere, but if we place it without
337
- // any unstable attr, rustc cannot compile stage0, because it doesn't know about
338
- // this feature yet.
339
-}
0 commit comments