bricks/config/
compiler.rs

1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Serialize, Deserialize)]
4pub struct Compiler {
5    #[serde(default)]
6    pub mac: String,
7    #[serde(default)]
8    pub windows: String,
9    #[serde(default)]
10    pub linux: String,
11}
12
13impl Default for Compiler {
14    fn default() -> Self {
15        Self {
16            mac: "clang".into(),
17            windows: "gcc".into(),
18            linux: "clang".into(),
19        }
20    }
21}