Skip to content

Commit ff98043

Browse files
authored
Merge pull request #176 from cakebaker/bump_phf_codegen
Bump `phf_codegen` & fix compilation error
2 parents 4cb18b1 + 42536e2 commit ff98043

File tree

3 files changed

+14
-38
lines changed

3 files changed

+14
-38
lines changed

Cargo.lock

Lines changed: 12 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ regex = "1.10.4"
3939
libc = "0.2.154"
4040
errno = "0.3"
4141
phf = "0.13.0"
42-
phf_codegen = "0.11.2"
42+
phf_codegen = "0.13.1"
4343
textwrap = { version = "0.16.1", features = ["terminal_size"] }
4444
xattr = "1.3.1"
4545
tempfile = "3.10.1"

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ pub fn main() {
5353
let mut phf_map = phf_codegen::OrderedMap::<&str>::new();
5454
for krate in &crates {
5555
let map_value = format!("({krate}::uumain, {krate}::uu_app)");
56-
phf_map.entry(krate, &map_value);
56+
phf_map.entry(krate, map_value);
5757
}
5858
write!(mf, "{}", phf_map.build()).unwrap();
5959
mf.write_all(b"\n}\n").unwrap();

0 commit comments

Comments
 (0)