mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
fix bug in create-image invocation
its arguments require the 0x decorator to define hex, whereas arguments to xtask don't. A little confusing, but only if you actually ever call create-image -- which nobody does, to a first order.
This commit is contained in:
parent
fdbdea5ab0
commit
ced6dd9e63
1 changed files with 1 additions and 1 deletions
|
|
@ -985,7 +985,7 @@ impl Builder {
|
|||
}
|
||||
|
||||
let swap_spec = if let Some((offset, size)) = self.swap {
|
||||
format!("{:x}:{:x}", offset, size)
|
||||
format!("0x{:x}:0x{:x}", offset, size) // create-image requires a base decorator, but the argument into xtask does not.
|
||||
} else {
|
||||
String::new()
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue