turtle-build 0.4.9

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
use super::DynamicBuild;

#[derive(Clone, Debug, PartialEq, Eq)]
pub struct DynamicModule {
    builds: Vec<DynamicBuild>,
}

impl DynamicModule {
    pub fn new(builds: Vec<DynamicBuild>) -> Self {
        Self { builds }
    }

    pub fn builds(&self) -> &[DynamicBuild] {
        &self.builds
    }
}