Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/builder/bootloader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
let cargo = std::env::var("CARGO").unwrap_or_else(|_| "cargo".to_owned());
let mut cmd = Command::new(&cargo);
if let Some(build_std) = &self.build_std {
cmd.arg("build").arg(&format!("-Zbuild-std={}", build_std));

Check warning on line 116 in src/builder/bootloader.rs

View workflow job for this annotation

GitHub Actions / Clippy

the borrowed expression implements the required traits
} else {
cmd.arg("xbuild");
}
Expand All @@ -124,6 +124,7 @@
cmd.arg("--features")
.arg(self.features.as_slice().join(" "));
cmd.arg("--target").arg(&self.target);
cmd.arg("-Zjson-target-spec");
cmd.arg("--release");
cmd.env("KERNEL", &self.kernel_bin_path);
cmd.env("KERNEL_MANIFEST", &self.kernel_manifest_path);
Expand Down
Loading