bitbox-lvgl-sys/build.rs: remove warning
What changed, and why it matters
This commit simply removes a printed warning message during the build process. When a certain environment variable (LV_CONF_PATH) is missing, the build script used to warn the developer; now it silently uses a default configuration file instead. There is no change to security logic, runtime behavior, or how the firmware works.
No security action needed. This is a routine build-hygiene cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
In src/rust/bitbox-lvgl-sys/build.rs, the match arm for Err(_) no longer emits a cargo::warning about the missing LV_CONF_PATH environment variable. The fallback path (manifest_dir.join(“lv_conf.h”)) remains identical. The change is purely cosmetic: one line of warning output is removed, with no functional effect on the LVGL build configuration or generated firmware.
Changed components
src/rust/bitbox-lvgl-sys/build.rsInspect captured patch +1 / −4
diff --git a/src/rust/bitbox-lvgl-sys/build.rs b/src/rust/bitbox-lvgl-sys/build.rs
index 7825324..a5e07fe 100644
--- a/src/rust/bitbox-lvgl-sys/build.rs
+++ b/src/rust/bitbox-lvgl-sys/build.rs
@@ -73,10 +73,7 @@ fn main() -> Result<(), &'static str> {
let mut cmake_build = cmake::Config::new(&lvgl_dir);
let lv_conf = match env::var("LV_CONF_PATH") {
- Err(_) => {
- println!("cargo::warning=LV_CONF_PATH missing, not using config file.");
- manifest_dir.join("lv_conf.h")
- }
+ Err(_) => manifest_dir.join("lv_conf.h"),
Ok(lv_conf) => {
let lv_conf: PathBuf = lv_conf.into();
lv_conf.canonicalize().expect("canonicalizing LV_CONF")
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.