minemod/src/main.rs
2025-01-20 06:22:36 -04:00

46 lines
1.3 KiB
Rust

#![deny(clippy::unwrap_used)]
#![allow(
// dead_code,
unused_variables,
// clippy::too_many_arguments,
// clippy::unnecessary_wraps,
unsafe_op_in_unsafe_fn
)]
// planned system targets
#[cfg(target_os = "linux")] mod linux;
#[cfg(target_os = "linux")] pub use linux::*;
#[cfg(target_os = "windows")] mod windows;
#[cfg(target_os = "windows")] pub use windows::*;
#[cfg(target_os = "macos")] mod mac;
#[cfg(target_os = "macos")] pub use mac::*;
#[cfg(target_family = "wasm")] mod wasm;
#[cfg(target_family = "wasm")] pub use wasm::*;
#[cfg(target_os = "vita")] mod vita;
#[cfg(target_os = "vita")] pub use vita::*;
// unconfirmed system targets
// bindgen, cc, https://github.com/rust-console
// switch // c lib: libnx, crate: rust-switch, toolchain: devkitPro
// #[cfg(target_os = "horizon")]
// mod switch;
// #[cfg(target_os = "horizon")]
// pub use switch::*;
// ps3 // sdk: PSL1GHT, target: powerpc64-unknown-linux-gnu
// #[cfg(target_os = "psl1ght")]
// mod ps3;
// #[cfg(target_os = "psl1ght")]
// pub use ps3::*;
// x360 // c lib: libxenon, make custom spec for xenon target
// #[cfg(target_os = "xenon")]
// mod x369;
// #[cfg(target_os = "xenon")]
// pub use x360::*;
// wii // toolchain: devkitPPC, target: powerpc-unknown-eabi, c lib: libogc
// #[cfg(target_os = "wii")]
// mod wii;
// #[cfg(target_os = "wii")]
// pub use wii::*;