We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3938b06 commit 71accbbCopy full SHA for 71accbb
.cargo/config.toml
@@ -1,5 +1,2 @@
1
-[env]
2
-BOOTLOADER_LOCAL_BUILD = "1"
3
-
4
[target.x86_64-unknown-uefi]
5
runner = "cargo run -p runner"
build.rs
@@ -20,7 +20,7 @@ fn build_uefi_bootloader(out_dir: &Path) -> PathBuf {
20
let cargo = std::env::var("CARGO").unwrap_or_else(|_| "cargo".into());
21
let mut cmd = Command::new(cargo);
22
cmd.arg("install").arg("bootloader-x86_64-uefi");
23
- if std::env::var("BOOTLOADER_LOCAL_BUILD").is_ok() && Path::new("uefi").exists() {
+ if Path::new("uefi").exists() {
24
// local build
25
cmd.arg("--path").arg("uefi");
26
} else {
0 commit comments