Skip to content

Commit 81afc43

Browse files
committed
deps: require at least libc 0.2.160
mozilla#29 added the following `libc` import: ``` rust use libc::{ freeifaddrs, getifaddrs, getpid, if_data, if_indextoname, ifaddrs, in6_addr, in_addr, sockaddr_in, sockaddr_in6, sockaddr_storage, AF_UNSPEC, PF_ROUTE, RTAX_MAX, }; ``` `RTAX_MAX` was added in `libc` `0.2.160`: https://github.com/rust-lang/libc/releases/tag/0.2.160 More specifically rust-lang/libc#3714. This commit makes sure the above new requirement is encoded in the `mtu` `Cargo.toml` `libc` dependency declaration. See CI failure without discussed in mozilla#51 (comment).
1 parent c7cd35a commit 81afc43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ maintenance = { status = "actively-developed", branch = "main" }
2222

2323
[dependencies]
2424
# Don't increase beyond what Firefox is currently using: https://searchfox.org/mozilla-central/source/Cargo.lock
25-
libc = { version = "0.2", default-features = false }
25+
libc = { version = "0.2.160", default-features = false }
2626
static_assertions = { version = "1.1", default-features = false }
2727

2828
[target.'cfg(windows)'.dependencies]

0 commit comments

Comments
 (0)