turtle-build 0.5.6

Ninja-compatible build system for high-level programming languages
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use crate::ir::Build;
use alloc::sync::Arc;
use core::num::NonZeroUsize;
use std::collections::{HashMap, HashSet};

#[derive(Clone, Debug)]
pub struct GlobalState {
    pub outputs: HashMap<Arc<str>, Arc<Build>>,
    pub default_outputs: HashSet<Arc<str>>,
    pub source_map: HashMap<Arc<str>, Arc<str>>,
    pub pools: HashMap<Arc<str>, Option<NonZeroUsize>>,
}