@@ -397,6 +397,13 @@ const LOONGARCH_ALLOWED_FEATURES: &[(&str, Stability)] = &[
397397 // tidy-alphabetical-end
398398] ;
399399
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+
400407/// When rustdoc is running, provide a list of all known features so that all their respective
401408/// primitives may be documented.
402409///
@@ -414,6 +421,7 @@ pub fn all_known_features() -> impl Iterator<Item = (&'static str, Stability)> {
414421 . chain ( BPF_ALLOWED_FEATURES . iter ( ) )
415422 . chain ( CSKY_ALLOWED_FEATURES )
416423 . chain ( LOONGARCH_ALLOWED_FEATURES )
424+ . chain ( IBMZ_ALLOWED_FEATURES )
417425 . cloned ( )
418426}
419427
@@ -431,6 +439,7 @@ impl super::spec::Target {
431439 "bpf" => BPF_ALLOWED_FEATURES ,
432440 "csky" => CSKY_ALLOWED_FEATURES ,
433441 "loongarch64" => LOONGARCH_ALLOWED_FEATURES ,
442+ "s390x" => IBMZ_ALLOWED_FEATURES ,
434443 _ => & [ ] ,
435444 }
436445 }
0 commit comments