turtle-build 0.4.5

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

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

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

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