exam/exam.rs
1#![allow(unused_must_use)]
2
3use cache_dir::{get_cache_dir, get_data_dir, NoSuchDirectoryError};
4
5#[cfg_attr(target_os = "android", mobile_entry_point::mobile_entry_point)]
6fn main() -> Result<(), NoSuchDirectoryError> {
7 println!("Cache directory: {}", get_cache_dir()?.display());
8 println!("Writable data directory: {}", get_data_dir()?.display());
9
10 Ok(())
11}