non-obvious choices in std IPv6 test creation #138328
Labels
A-io
Area: `std::io`, `std::fs`, `std::net` and `std::path`
A-testsuite
Area: The testsuite used to check the correctness of rustc
C-bug
Category: This is a bug.
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
re: https://github.com/rust-lang/rust/blob/9fb94b32df38073bf63d009df77ed10cb1c989d0/library/std/src/net/udp/tests.rs
We make a bunch of devices with a
scope_id
of 0, but the value of 0 is a reservedscope_id
. I believe it's usually ignored or treated as equivalent to "eh whatever", but we probably should be making them withscope_id: 1
, i.e. "entirely local to here". This prompted #137967 because AIX helpfully fixes the value ofscope_id
to the one it interprets it as: 1.The text was updated successfully, but these errors were encountered: