@@ -397,6 +397,13 @@ const LOONGARCH_ALLOWED_FEATURES: &[(&str, Stability)] = &[
397
397
// tidy-alphabetical-end
398
398
] ;
399
399
400
+ const IBMZ_ALLOWED_FEATURES : & [ ( & str , Stability ) ] = & [
401
+ // tidy-alphabetical-start
402
+ ( "backchain" , Unstable ( sym:: s390x_target_feature) ) ,
403
+ ( "vector" , Unstable ( sym:: s390x_target_feature) ) ,
404
+ // tidy-alphabetical-end
405
+ ] ;
406
+
400
407
/// When rustdoc is running, provide a list of all known features so that all their respective
401
408
/// primitives may be documented.
402
409
///
@@ -414,6 +421,7 @@ pub fn all_known_features() -> impl Iterator<Item = (&'static str, Stability)> {
414
421
. chain ( BPF_ALLOWED_FEATURES . iter ( ) )
415
422
. chain ( CSKY_ALLOWED_FEATURES )
416
423
. chain ( LOONGARCH_ALLOWED_FEATURES )
424
+ . chain ( IBMZ_ALLOWED_FEATURES )
417
425
. cloned ( )
418
426
}
419
427
@@ -431,6 +439,7 @@ impl super::spec::Target {
431
439
"bpf" => BPF_ALLOWED_FEATURES ,
432
440
"csky" => CSKY_ALLOWED_FEATURES ,
433
441
"loongarch64" => LOONGARCH_ALLOWED_FEATURES ,
442
+ "s390x" => IBMZ_ALLOWED_FEATURES ,
434
443
_ => & [ ] ,
435
444
}
436
445
}
0 commit comments