Skip to content

non-obvious choices in std IPv6 test creation #138328

Open
@workingjubilee

Description

@workingjubilee

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 reserved scope_id. I believe it's usually ignored or treated as equivalent to "eh whatever", but we probably should be making them with scope_id: 1, i.e. "entirely local to here". This prompted #137967 because AIX helpfully fixes the value of scope_id to the one it interprets it as: 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ioArea: `std::io`, `std::fs`, `std::net` and `std::path`A-testsuiteArea: The testsuite used to check the correctness of rustcC-bugCategory: This is a bug.T-libsRelevant to the library team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions