[PATCH] Make Way to avoid compile failure on undefined env

12 views
Skip to first unread message

Tommy Yu

unread,
May 20, 2026, 12:48:36 AM (4 days ago) May 20
to rust-embed-devs
Hi,

I've created a patch that extends `allow_empty` to prevent undefined environment variable from causing a compilation error.


The intention of this patch is to allow a library that might offer a hook to optionally embed files to compile successfully even if the environment variable isn't set, which may be the case during `cargo clippy` or other integration tests.

Regards,
Tommy.

Peter John

unread,
11:40 AM (8 hours ago) 11:40 AM
to rust-embed-devs
Hi Tommy,

Thanks. I've applied your patch and will release a new version soon with the changes.

Regards,
Peter
Reply all
Reply to author
Forward
0 new messages