#![cfg_attr(
    any(rust_analyzer, target_os = "yggdrasil"),
    feature(yggdrasil_os, rustc_private)
)]

#[cfg(rust_analyzer)]
pub use abi_lib;
#[cfg(rust_analyzer)]
pub use abi_serde;
#[cfg(rust_analyzer)]
pub use yggdrasil_abi as abi;
#[cfg(rust_analyzer)]
pub use yggdrasil_rt as rt;

#[cfg(any(rust_analyzer, target_os = "yggdrasil"))]
pub use std::os::yggdrasil::rt;
#[cfg(any(rust_analyzer, target_os = "yggdrasil"))]
pub use std::os::yggdrasil::rt::abi;
#[cfg(any(rust_analyzer, target_os = "yggdrasil"))]
pub use std::os::yggdrasil::rt::abi::abi_lib;
#[cfg(any(rust_analyzer, target_os = "yggdrasil"))]
pub use std::os::yggdrasil::rt::abi::abi_serde;
