aoc-toolkit 0.1.0-alpha.2

A toolkit for solving Advent of Code problems
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[cfg(target_os = "macos")]
mod macos;

#[cfg(target_os = "macos")]
pub(crate) use macos::native_hosts_dir;

#[cfg(not(target_os = "macos"))]
pub(crate) fn native_hosts_dir() -> std::io::Result<std::path::PathBuf> {
    Err(std::io::Error::new(
        std::io::ErrorKind::Unsupported,
        "Native host registration is not supported on this platform yet",
    ))
}