{"ast_node_type":"other","tokens":[{"end":97,"kind":"keyword","start":0,"text":"&&"}]}
        && tcx.crate_types().iter().any(|t| matches!(t, &CrateType::Rlib | CrateType::Staticlib))
    if let NativeLibKind::Static { bundle: Some(true) | None, whole_archive } = kind
        && (sess.opts.unstable_opts.packed_bundled_libs || has_cfg || whole_archive == Some(true))