turtle-build 0.5.3

Ninja-compatible build system for high-level programming languages
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::DynamicBuild;
use alloc::sync::Arc;
use std::collections::HashMap;

#[derive(Clone, Debug, PartialEq, Eq)]
pub struct DynamicConfig {
    outputs: HashMap<Arc<str>, DynamicBuild>,
}

impl DynamicConfig {
    pub const fn new(outputs: HashMap<Arc<str>, DynamicBuild>) -> Self {
        Self { outputs }
    }

    pub const fn outputs(&self) -> &HashMap<Arc<str>, DynamicBuild> {
        &self.outputs
    }
}