use crate::spec::base::nto_qnx;
use crate::spec::{Env, Target};

pub(crate) fn target() -> Target {
    let mut target = nto_qnx::aarch64();
    target.metadata.description =
        Some("ARM64 QNX Neutrino 7.1 RTOS with io-sock network stack".into());
    target.options.pre_link_args =
        nto_qnx::pre_link_args(nto_qnx::ApiVariant::IoSock, nto_qnx::Arch::Aarch64);
    target.options.env = Env::Nto71IoSock;
    target
}
