update settings with function to ignore unused settings

This commit is contained in:
Vivianne 2022-07-05 21:23:50 -07:00
parent cc91df4459
commit f467db6b89

View file

@ -7,3 +7,7 @@ pub const khronos_layer_on = true;
pub const assist_layer_on = true;
pub const messenger_on = true;
pub const rt_on = false;
pub fn OnlyIf(comptime setting: bool, t: anytype) t {
return if (setting) t else void;
}