We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c28caf commit b162e90Copy full SHA for b162e90
ostool/src/config/mod.rs
@@ -38,10 +38,10 @@ impl ProjectConfig {
38
let target = targets[select].clone();
39
let mut build = BuildSystem::new_by_ui(workdir);
40
let arch = Arch::from_target(&target).unwrap();
41
- if let BuildSystem::Cargo(args) = &mut build
42
- && matches!(arch, Arch::Riscv64 | Arch::Aarch64)
43
- {
44
- args.kernel_is_bin = true;
+ if let BuildSystem::Cargo(args) = &mut build {
+ if matches!(arch, Arch::Riscv64 | Arch::Aarch64) {
+ args.kernel_is_bin = true;
+ }
45
}
46
47
Self {
0 commit comments