Examples
Examples are included with the Rust for Dreamcast repo to help you get started.
hello
demonstrates how to create a simple "Hello, world!" application using cargo.gldc-cube
demonstrates a Rust project using the GLdc KOS port.romdisk
demonstrates how to generate and mount a read-only ROMdisk with a KallistiOS project.addlib
demonstrates how to create a Rust library that can be included with a KallistiOS project.atomics
demonstrates the use of atomic functions.filesystem-io
demonstrates listing directory contents and opening files.http
demonstrates creating a basic server to handle HTTP requests over TCP.network-time
demonstrates displaying the system time and retrieving the current UTC time from an NTP server using the [[Broadband adapter]] or [[LAN adapter]].pvrmark_strips_direct
demonstrates the use of PVR direct rendering.romdisk
demonstrates bundling a read-only ROMdisk filesystem into your program.threads
demonstrates the use of threads.tokio-async
demonstrates the use of the tokio async runtime.