This commit is contained in:
Rakarake 2025-11-30 19:04:55 +01:00
parent f2a4de9bd9
commit 49f2a7d820
6 changed files with 24 additions and 2 deletions

View file

@ -2,6 +2,9 @@ use std::fs;
use proc_macro::TokenStream;
/// Takes a path to the aoc year directory and generates module declarations
/// and argument parsing for each day found in that directory, each day
/// must begin with "day".
#[proc_macro]
pub fn gen_days(item: TokenStream) -> TokenStream {
let path = format!("{item}");