mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-19 09:00:54 +00:00
fixup some comments
This commit is contained in:
parent
0979a205c6
commit
8340c65dfe
1 changed files with 5 additions and 1 deletions
|
|
@ -243,6 +243,9 @@ impl Builder {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// The builder sets up all the cargo arguments to build a set of packages with features for a respective
|
||||||
|
/// target and stream. It also runs the build as well. It's meant to be called only by the `build()`
|
||||||
|
/// method, and it gets called repeatedly to build the kernel, loader, and services.
|
||||||
fn builder(
|
fn builder(
|
||||||
&self,
|
&self,
|
||||||
packages: &Vec::<CrateSpec>,
|
packages: &Vec::<CrateSpec>,
|
||||||
|
|
@ -368,7 +371,8 @@ impl Builder {
|
||||||
Ok(artifacts)
|
Ok(artifacts)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Consume the builder and execute the task
|
/// Consume the builder and execute the configured build task. This handles dispatching all configurations,
|
||||||
|
/// including renode, hosted, and hardware targets.
|
||||||
pub fn build(mut self) -> Result<(), DynError> {
|
pub fn build(mut self) -> Result<(), DynError> {
|
||||||
if self.apps.len() == 0 && self.services.len() == 0 {
|
if self.apps.len() == 0 && self.services.len() == 0 {
|
||||||
// no services were specified - don't build anything
|
// no services were specified - don't build anything
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue