--- firefox-36ebbdf6fbbfd0b40a607212ec843992b5d43e92/third_party/rust/mtu/.cargo-checksum.json.~1~ 2025-09-20 05:06:20.000000000 -0400 +++ firefox-36ebbdf6fbbfd0b40a607212ec843992b5d43e92/third_party/rust/mtu/.cargo-checksum.json 2025-09-21 18:49:06.671156770 -0400 @@ -1 +1 @@ -{"files":{".clippy.toml":"6ab1a673bd5c7ba29bd77e62f42183db3ace327c23d446d5b4b0618f6c39d639","Cargo.toml":"732444d59ddb0ea98698c22e8bda203d991231a9828d4643f2af0ceb55213ba0","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"4ad721b5b6a3d39ca3e2202f403d897c4a1d42896486dd58963a81f8e64ef61d","README.md":"24df0e24154b7f0096570ad221aea02bd53a0f1124a2adafff5730af5443a65c","SECURITY.md":"75455814b6cf997e22a927eb979b4356d788583aa1eb96e90853aaab0f82ad1b","build.rs":"a4bcd0562c80914a8e909e8b10507605bfd6f0f268fad9ef4d79f4c48bdaed6c","src/bsd.rs":"7641b2a905a5e05505507fdf2e3af37e9c901a997d48759258f9f853cd2ab0e5","src/lib.rs":"eab2e45bbee6a21221e6d6955c8d9b1b301570d27c0d28cdaf7a2bb503d14d93","src/linux.rs":"aecc6acbea2419dd6cc31e916148e438d8cec20cf001758042299ff2ccc81d39","src/routesocket.rs":"be837947e2c3f9301a174499217fe8920ff492918bf85ca5eb281eb7ad2240e1","src/windows.rs":"d7e18d55b3be5462d2041fc22fb22cf1fc163ec30b107a3274f2bd22ad618411"},"package":null} \ No newline at end of file +{"files":{".clippy.toml":"6ab1a673bd5c7ba29bd77e62f42183db3ace327c23d446d5b4b0618f6c39d639","Cargo.toml":"732444d59ddb0ea98698c22e8bda203d991231a9828d4643f2af0ceb55213ba0","LICENSE-APACHE":"a60eea817514531668d7e00765731449fe14d059d3249e0bc93b36de45f759f2","LICENSE-MIT":"4ad721b5b6a3d39ca3e2202f403d897c4a1d42896486dd58963a81f8e64ef61d","README.md":"24df0e24154b7f0096570ad221aea02bd53a0f1124a2adafff5730af5443a65c","SECURITY.md":"75455814b6cf997e22a927eb979b4356d788583aa1eb96e90853aaab0f82ad1b","build.rs":"17a0dd0e998c014cd4d81d5e62ae5bdcf93fd99ca74c7fbd9fd8faee232e1027","src/bsd.rs":"4a23f8e413d611ea3809e85bbcc090f0043584699ea8b40f8e112d17af79529a","src/lib.rs":"9214f7047bab58defd0fa26774dd5fba21a65e890892214f55ee4e4a72d3a428","src/linux.rs":"aecc6acbea2419dd6cc31e916148e438d8cec20cf001758042299ff2ccc81d39","src/routesocket.rs":"be837947e2c3f9301a174499217fe8920ff492918bf85ca5eb281eb7ad2240e1","src/windows.rs":"d7e18d55b3be5462d2041fc22fb22cf1fc163ec30b107a3274f2bd22ad618411"},"package":null} --- firefox-a6e541cb18c2798eb24f8cd9f6e1edf25fe71c42/third_party/rust/mtu/src/lib.rs.~1~ 2025-07-15 20:27:07.000000000 -0400 +++ firefox-a6e541cb18c2798eb24f8cd9f6e1edf25fe71c42/third_party/rust/mtu/src/lib.rs 2025-07-16 07:49:26.940912378 -0400 @@ -160,7 +160,7 @@ [NameMtu(Some("lo0"), 32_768), NameMtu(Some("lo0"), 32_768)] } else if cfg!(target_os = "netbsd") { [NameMtu(Some("lo0"), 33_624), NameMtu(Some("lo0"), 33_624)] - } else if cfg!(target_os = "solaris") { + } else if cfg!(any(target_os = "solaris", target_os = "illumos")) { // Note: Different loopback MTUs for IPv4 and IPv6?! [NameMtu(Some("lo0"), 8_232), NameMtu(Some("lo0"), 8_252)] } else { --- gecko-dev-0d1f8ff61fe506646fe3898ef727817b4436ab32/third_party/rust/mtu/build.rs.old 2025-02-18 22:40:12.792257531 -0500 +++ gecko-dev-0d1f8ff61fe506646fe3898ef727817b4436ab32/third_party/rust/mtu/build.rs 2025-02-18 22:40:42.285341578 -0500 @@ -103,7 +103,8 @@ target_os = "freebsd", target_os = "openbsd", target_os = "netbsd", - target_os = "solaris" + target_os = "solaris", + target_os = "illumos" ) } } --- firefox-a6e541cb18c2798eb24f8cd9f6e1edf25fe71c42/third_party/rust/mtu/src/bsd.rs.~1~ 2025-07-15 20:27:07.000000000 -0400 +++ firefox-a6e541cb18c2798eb24f8cd9f6e1edf25fe71c42/third_party/rust/mtu/src/bsd.rs 2025-07-16 07:53:49.484371304 -0400 @@ -34,7 +34,7 @@ include!(env!("BINDINGS")); } -#[cfg(any(target_os = "netbsd", target_os = "solaris"))] +#[cfg(any(target_os = "netbsd", target_os = "solaris", target_os = "illumos"))] use crate::bsd::bindings::RTA_IFP; use crate::{ aligned_by, @@ -56,13 +56,13 @@ #[cfg(any(target_os = "macos", target_os = "freebsd", target_os = "openbsd"))] asserted_const_with_type!(RTM_ADDRS, i32, RTA_DST, u32); -#[cfg(any(target_os = "netbsd", target_os = "solaris"))] +#[cfg(any(target_os = "netbsd", target_os = "solaris", target_os = "illumos"))] asserted_const_with_type!(RTM_ADDRS, i32, RTA_DST | RTA_IFP, u32); -#[cfg(not(target_os = "solaris"))] +#[cfg(not(any(target_os = "solaris", target_os = "illumos")))] type AddressFamily = u8; -#[cfg(target_os = "solaris")] +#[cfg(any(target_os = "solaris", target_os = "illumos"))] type AddressFamily = u16; asserted_const_with_type!(AF_INET, AddressFamily, libc::AF_INET, i32); @@ -203,7 +203,7 @@ match ip { IpAddr::V4(ip) => SockaddrStorage { sin: sockaddr_in { - #[cfg(not(target_os = "solaris"))] + #[cfg(not(any(target_os = "solaris", target_os = "illumos")))] #[expect( clippy::cast_possible_truncation, reason = "`sockaddr_in` len is <= u8::MAX per `const_assert!` above." @@ -219,7 +219,7 @@ }, IpAddr::V6(ip) => SockaddrStorage { sin6: sockaddr_in6 { - #[cfg(not(target_os = "solaris"))] + #[cfg(not(any(target_os = "solaris", target_os = "illumos")))] #[expect( clippy::cast_possible_truncation, reason = "`sockaddr_in6` len is <= u8::MAX per `const_assert!` above." @@ -232,7 +232,7 @@ sin6_port: 0, sin6_flowinfo: 0, sin6_scope_id: 0, - #[cfg(target_os = "solaris")] + #[cfg(any(target_os = "solaris", target_os = "illumos"))] __sin6_src_id: 0, }, },