File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -325,15 +325,3 @@ mod nvptx;
325
325
#[ cfg( any( target_arch = "loongarch64" , doc) ) ]
326
326
#[ doc( cfg( target_arch = "loongarch64" ) ) ]
327
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
- }
You can’t perform that action at this time.
0 commit comments