@@ -391,6 +391,13 @@ const LOONGARCH_ALLOWED_FEATURES: &[(&str, Stability)] = &[
391
391
// tidy-alphabetical-end
392
392
] ;
393
393
394
+ const IBMZ_ALLOWED_FEATURES : & [ ( & str , Stability ) ] = & [
395
+ // tidy-alphabetical-start
396
+ ( "backchain" , Unstable ( sym:: s390x_target_feature) ) ,
397
+ ( "vector" , Unstable ( sym:: s390x_target_feature) ) ,
398
+ // tidy-alphabetical-end
399
+ ] ;
400
+
394
401
/// When rustdoc is running, provide a list of all known features so that all their respective
395
402
/// primitives may be documented.
396
403
///
@@ -408,6 +415,7 @@ pub fn all_known_features() -> impl Iterator<Item = (&'static str, Stability)> {
408
415
. chain ( BPF_ALLOWED_FEATURES . iter ( ) )
409
416
. chain ( CSKY_ALLOWED_FEATURES )
410
417
. chain ( LOONGARCH_ALLOWED_FEATURES )
418
+ . chain ( IBMZ_ALLOWED_FEATURES )
411
419
. cloned ( )
412
420
}
413
421
@@ -425,6 +433,7 @@ impl super::spec::Target {
425
433
"bpf" => BPF_ALLOWED_FEATURES ,
426
434
"csky" => CSKY_ALLOWED_FEATURES ,
427
435
"loongarch64" => LOONGARCH_ALLOWED_FEATURES ,
436
+ "s390x" => IBMZ_ALLOWED_FEATURES ,
428
437
_ => & [ ] ,
429
438
}
430
439
}
0 commit comments