//! Rust ESP32 Hello World

use std::thread;
use std::time::Duration;

fn main() -> anyhow::Result<()> {
    esp_idf_sys::link_patches();

    println!("Hello, Rust!");

    // The following speeds up the simulation:
    loop { thread::sleep(Duration::from_millis(10)); }
}