kos_sys/
lib.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Rust for KallistiOS/Dreamcast
// Copyright (C) 2024 Eric Fradella
// https://dreamcast.rs/

#![doc(html_logo_url = "https://kos-sys.dreamcast.wiki/kos-rs_logo.png")]
#![doc(html_favicon_url = "https://kos-sys.dreamcast.wiki/kos-sys_favicon.ico")]
#![no_std]

#![feature(c_variadic)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
#![allow(non_upper_case_globals)]

//! Raw/unsafe bindings to KallistiOS for Sega Dreamcast.
//!
//! See [dreamcast.rs](https://dreamcast.rs) or the [dreamcast.wiki](https://dreamcast.wiki)
//! for more information on setting up KallistiOS and Rust to use this crate.

pub mod prelude;

#[cfg(feature = "allocator")]
pub mod allocator;
#[cfg(feature = "panic_handler")]
pub mod panic;

pub mod addons;
pub mod arch;
pub mod dc;
pub mod os;
pub mod malloc;

// Re-export dependency crates
pub extern crate libc;
pub use paste;