From 4e3bec0895e59a832f109f2d1c5e1e7bcbccbf92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Kr=C3=B6ning?= Date: Mon, 17 Aug 2026 20:02:59 +0200 Subject: [PATCH] build: restrict dev optimization workaround to dependencies --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b436864f..e1b966b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -59,7 +59,7 @@ sbi = [] x86_64-linux = ["linux", "dep:linux-boot-params"] x86_64-multiboot = ["multiboot", "dep:multiboot"] -[profile.dev] +[profile.dev.package."*"] # This is a workaround for the loader growing too large to boot with QEMU's multiboot. # This broke last with nightly-2024-06-29 (https://github.com/rust-lang/rust/compare/9c3bc805dd9cb84019c124b9a50fdff1e62a7ec9...e9e6e2e444c30c23a9c878a88fbc3978c2acad95) # We should fix this properly, allowing larger loaders to still function correctly.