about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs
diff options
context:
space:
mode:
authorJakub Stasiak <jakub@stasiak.at>2023-12-16 01:31:37 +0100
committerJakub Stasiak <jakub@stasiak.at>2024-01-11 01:03:34 +0100
commit4621357d144bf48087b99f1473d15321231f34b9 (patch)
treefd8eb2de35394e7f7a5db129ef2092dda875431f /tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs
parenta2d9d73e608f1b24eba840c4fd2d68dbe3b65e01 (diff)
downloadrust-4621357d144bf48087b99f1473d15321231f34b9.tar.gz
rust-4621357d144bf48087b99f1473d15321231f34b9.zip
Make is_global/is_unicast_global special address handling complete
IANA explicitly documents 192.0.0.9/32, 192.0.0.9/32 and 2001:30::/28 as
globally reachable[1][2] and the is_global implementations declare
following IANA so let's make this happen.

In case of 2002::/16 IANA says N/A so I think it's safe to say we
shouldn't return true there either.

[1] https://www.iana.org/assignments/iana-ipv4-special-registry/iana-ipv4-special-registry.xhtml
[2] https://www.iana.org/assignments/iana-ipv6-special-registry/iana-ipv6-special-registry.xhtml
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs')
0 files changed, 0 insertions, 0 deletions