Skip to content

Commit 876b08c

Browse files
sayantnAmanieu
authored andcommitted
Remove the dummy function
1 parent 47b929d commit 876b08c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

crates/core_arch/src/mod.rs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -325,15 +325,3 @@ mod nvptx;
325325
#[cfg(any(target_arch = "loongarch64", doc))]
326326
#[doc(cfg(target_arch = "loongarch64"))]
327327
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

Comments
 (0)