diff --git a/xtask/src/builder.rs b/xtask/src/builder.rs index b4f8bf1d2..c54291173 100644 --- a/xtask/src/builder.rs +++ b/xtask/src/builder.rs @@ -72,17 +72,6 @@ impl CrateSpec { } } } -//impl Clone for CrateSpec { -// fn clone(&self) -> CrateSpec { -// match self { -// CrateSpec::Local(s, xip) => CrateSpec::Local(s.to_string(), *xip), -// CrateSpec::CratesIo(n, v, xip) => CrateSpec::CratesIo(n.to_string(), v.to_string(), *xip), -// CrateSpec::Prebuilt(n, u, xip) => CrateSpec::Prebuilt(n.to_string(), u.to_string(), *xip), -// CrateSpec::BinaryFile(n, path, xip) => CrateSpec::BinaryFile(n.as_ref(), path.to_string(), *xip), -// CrateSpec::None => CrateSpec::None, -// } -// } -//} impl From<&str> for CrateSpec { fn from(spec: &str) -> CrateSpec { // remote crates are specified as "name@version", i.e. "xous-names@0.9.9" @@ -337,10 +326,6 @@ impl Builder { } self } - ///// Add an app binary build out of souce tree - //pub fn add_external_apps<'a>(&'a mut self, app_list: &Vec::) -> &'a mut Builder{ - // - //} /// add a feature to be passed on to services pub fn add_feature<'a>(&'a mut self, feature: &str) -> &'a mut Builder { self.features.push(feature.into()); diff --git a/xtask/src/main.rs b/xtask/src/main.rs index 2eccbd55a..410d5df38 100644 --- a/xtask/src/main.rs +++ b/xtask/src/main.rs @@ -127,9 +127,6 @@ fn main() -> Result<(), Box> { builder.add_apps(&extra_apps); let extra_services = get_flag("--service")?; builder.add_services(&extra_services); - //Should we have such a flag? - //let external_apps = get_flag("--external_app")?; - //builder.add_external_apps(&external_apps); // extract features, and especially track language features let features = get_flag("--feature")?; let mut language_set = false;