[AArch64] Ignore tuning features for inlining (#205750)
Tuning features are not correctness relevant, so differences in tuning
features should not prevent inlining.
[libc] Add public_includes stanza to hdrgen and use it in socket headers (#205543)
This patch adds support for a public_includes stanza in header YAML
files, allowing generated public headers to include other public
headers.
I use this to make arpa/inet.h include netinet/in.h, and netinet/in.h
include sys/socket.h. While POSIX doesn't strictly require these headers
to include each other, it permits it, and many real-world applications
depend on this behavior.
To make this work, I also needed to reorder the header targets in
include/CMakeLists.txt so that targets sys_socket and netinet_in are
defined before targets declare dependencies on them.
There are a couple of other files that could use this feature (right now
they handle it through the header template), but I'll do that as a
separate patch.
Assisted by Gemini.
Part of fix for PR lib/58282
Redo the logic for erasing lines when we have the capability, it was
broken and caused blanks to be written when clearing the screen instead
which caused thrashing and large outputs.
Part of fix for PR lib/58282
Force the type of the hash to be an unsigned int, the PJW hash was
written expecting 32bit integers so ensure this is so.
Also, don't hash NULL bytes, they mess up the hashing which, in turn,
messes up quickch().
lang/swift6: Add port: Powerful, flexible, multiplatform programming language (Version 6)
Swift is the only language that scales from embedded devices and
kernels to apps and cloud infrastructure. It's simple, and
expressive, with incredible performance and safety. And it has
unmatched interoperability with C and C++.
It's the combination of approachability, speed, safety, and all of
Swift's strengths that make it so unique.
WWW: https://www.swift.org/
PR: 296000
Differential Revision: https://reviews.freebsd.org/D57541