fn genesis_builtins(cluster_type: ClusterType, bpf_jit: bool) -> Vec<Builtin> {
    if cluster_type != ClusterType::MainnetBeta {
        vec![
            to_builtin!(solana_bpf_loader_deprecated_program!()),
            if bpf_jit {
                to_builtin!(solana_bpf_loader_program_with_jit!())
            } else {
                to_builtin!(solana_bpf_loader_program!())
            },
            if bpf_jit {
                to_builtin!(solana_bpf_loader_upgradeable_program_with_jit!())
            } else {
                to_builtin!(solana_bpf_loader_upgradeable_program!())
            },
        ]
    } else {
        // Remove this `else` block and the `cluster_type` argument to this function once
        // `feature_set::bpf_loader2_program::id()` is active on Mainnet Beta
        vec![to_builtin!(solana_bpf_loader_deprecated_program!())]
    }
}
/// Builtin programs that are always available
Builtin programs that are always available
Builtin programs that are always available
fn genesis_builtins(cluster_type: ClusterType, bpf_jit: bool) -> Vec<Builtin> {
    if cluster_type != ClusterType::MainnetBeta {
        vec![
            to_builtin!(solana_bpf_loader_deprecated_program!()),
            if bpf_jit {
                to_builtin!(solana_bpf_loader_program_with_jit!())
            } else {
                to_builtin!(solana_bpf_loader_program!())
            },
            if bpf_jit {
                to_builtin!(solana_bpf_loader_upgradeable_program_with_jit!())
            } else {
                to_builtin!(solana_bpf_loader_upgradeable_program!())
            },
        ]
    } else {
        // Remove this `else` block and the `cluster_type` argument to this function once
        // `feature_set::bpf_loader2_program::id()` is active on Mainnet Beta
        vec![to_builtin!(solana_bpf_loader_deprecated_program!())]
    }
}
fn genesis_builtins ( cluster_type : ClusterType , bpf_jit : bool ) -> Vec < Builtin > { if cluster_type != ClusterType :: MainnetBeta { vec ! [ to_builtin ( solana_bpf_loader_deprecated_program ( ) ) if bpf_jit { to_builtin ( solana_bpf_loader_program_with_jit ( ) ) } else { to_builtin ( solana_bpf_loader_program ( ) ) } if bpf_jit { to_builtin ( solana_bpf_loader_upgradeable_program_with_jit ( ) ) } else { to_builtin ( solana_bpf_loader_upgradeable_program ( ) ) } ] } else { // Remove this `else` block and the `cluster_type` argument to this function once // `feature_set::bpf_loader2_program::id()` is active on Mainnet Beta vec ! [ to_builtin ( solana_bpf_loader_deprecated_program ( ) ) ] } }
Builtin programs that are always available
Builtin programs that are always available
cluster_type
ClusterType
bpf_jit
bool