Skip to content

Commit 1021aa9

Browse files
opsoundfacebook-github-bot
authored andcommitted
third-party: rust: upgrade to memmap2 0.9.5
Summary: We are using quite an old version (0.5.1). Also want to be able to use `.huge` to experiment with `MAP_HUGETLB`. Reviewed By: asp2insp Differential Revision: D75108717 fbshipit-source-id: fcb73c8d95f12dcda7d7af8e7a2c763fe1919707
1 parent 81d584a commit 1021aa9

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

eden/mononoke/mercurial/revlog/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ bytes = { version = "1.9.0", features = ["serde"] }
1818
flate2 = { version = "1.0.33", features = ["rust_backend"], default-features = false }
1919
futures_ext = { package = "futures_01_ext", version = "0.1.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
2020
futures_old = { package = "futures", version = "0.1.31" }
21-
memmap2 = "0.5.10"
21+
memmap2 = "0.9.5"
2222
mercurial_types = { version = "0.1.0", path = "../types" }
2323
nom = { version = "3", features = ["verbose-errors"] }
2424
sapling-lz4-pyframe = { version = "0.1.0", path = "../../../scm/lib/lz4-pyframe" }

eden/scm/lib/indexedlog/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ harness = false
3232
[dependencies]
3333
byteorder = "1.3"
3434
fs2 = "0.4"
35-
memmap2 = "0.5.10"
35+
memmap2 = "0.9.5"
3636
once_cell = "1.12"
3737
rand = { version = "0.8", features = ["small_rng"] }
3838
sapling-atomicfile = { version = "0.1.0", path = "../atomicfile" }

eden/scm/lib/minibytes/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ name = "minibytes"
1515

1616
[dependencies]
1717
bytes = { version = "1.9.0", features = ["serde"], optional = true }
18-
memmap2 = { version = "0.5.10", optional = true }
18+
memmap2 = { version = "0.9.5", optional = true }
1919
serde = { version = "1.0.185", features = ["derive", "rc"] }
2020

2121
[dev-dependencies]

eden/scm/lib/third-party/streampager/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ name = "streampager"
1717
dirs = "6.0"
1818
enum_dispatch = "0.3.13"
1919
lru = { version = "=0.12.4", default-features = false }
20-
memmap2 = "0.5.10"
20+
memmap2 = "0.9.5"
2121
notify = { version = "5", optional = true }
2222
regex = "1.11.1"
2323
scopeguard = "1.2.0"

eden/scm/lib/util/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ shellexpand = "2.1.2"
2929
thiserror = "2"
3030

3131
[dev-dependencies]
32-
memmap2 = "0.5.10"
32+
memmap2 = "0.9.5"
3333
tempfile = "3.15"
3434

3535
[target.'cfg(target_os = "linux")'.dependencies]

eden/scm/saplingnative/bindings/modules/pyworker/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ sapling-vfs = { version = "0.1.0", path = "../../../../lib/vfs" }
1919
tracing = { version = "0.1.41", features = ["attributes", "valuable"] }
2020

2121
[dev-dependencies]
22-
memmap2 = "0.5.10"
22+
memmap2 = "0.9.5"
2323
quickcheck = "1.0"
2424
sapling-minibytes = { version = "0.1.0", path = "../../../../lib/minibytes" }
2525
tempfile = "3.15"

0 commit comments

Comments
 (0)