You've already forked util-linux
mirror of
https://github.com/uutils/util-linux.git
synced 2026-06-10 16:13:52 -07:00
build.rs: fix "does not live long enough" error
caused by the phf_codegen update
This commit is contained in:
@@ -53,7 +53,7 @@ pub fn main() {
|
||||
let mut phf_map = phf_codegen::OrderedMap::<&str>::new();
|
||||
for krate in &crates {
|
||||
let map_value = format!("({krate}::uumain, {krate}::uu_app)");
|
||||
phf_map.entry(krate, &map_value);
|
||||
phf_map.entry(krate, map_value);
|
||||
}
|
||||
write!(mf, "{}", phf_map.build()).unwrap();
|
||||
mf.write_all(b"\n}\n").unwrap();
|
||||
|
||||
Reference in New Issue
Block a user