Tags: goooosun/folly
Tags
Updating hashes Summary: GitHub commits: facebook/buck2-prelude@e580cfb facebook/fb303@dfe13cf facebook/fbthrift@297524a facebook/mvfst@fe4f924 facebook/proxygen@fc876f4 facebook/wangle@f4dcd7f facebookexperimental/edencommon@c02d12c facebookexperimental/rust-shed@b1a06e2 facebookincubator/fizz@2538012 Reviewed By: sdwilsh fbshipit-source-id: 89b5d9340c19294321c3a1e2ca0a085fb71a21bc
Mark `ConcurrentHashMap::contains()` as deleted Summary: Explicitly mark `contains()` method as deleted and explain reasoning in the comment to make it clear this is intentional and not an oversight. Reviewed By: yfeldblum Differential Revision: D91222950 fbshipit-source-id: 66fa4246ed0b99d50cc92f550592b04cfa465397
Add granular CMake build targets to match Buck structure Summary: This adds a granular CMake build system to Folly that creates individual static libraries for each Buck target, enabling downstream projects to link only the specific Folly components they need rather than the entire library. Key changes: - Add folly_add_library() helper in FollyFunctions.cmake that creates both OBJECT and STATIC libraries with deferred dependency resolution - Add generate_cmake.py script to parse Buck files and generate CMakeLists.txt - Generate ~100 CMakeLists.txt files across all folly subdirectories - Preserve dependency relationships from Buck (deps -> PRIVATE, exported_deps -> PUBLIC) - Handle platform-specific compile options (e.g., -mpclmul for CRC32) - Add ARM-guarded CMakeLists.txt for external/aor (aarch64 assembly) - Maintain backwards compatibility with follybenchmark alias Reviewed By: yfeldblum Differential Revision: D90448201 fbshipit-source-id: 7a3cb4f1ee84083a6de98adc066cea424307c8be
Fix spelling in folly/coro/ Summary: I'm looking to improve the SPELL linter to use `typos`, which catches many more issues. D76420969 fixed the initial issues, but D78223302 expanded the folly files that are checked, so there's a few more cases to fix. Reviewed By: ispeters, r-barnes Differential Revision: D90387903 fbshipit-source-id: 08d426129ce8f25d0f73b58831ee2ebcfbb48995
Updating hashes Summary: GitHub commits: facebook/buck2-prelude@2eeb208 facebook/fb303@7f900f3 facebook/fbthrift@9b84542 facebook@4d6b3c7 facebook/mvfst@a1c051a facebook/proxygen@4c7a2cf facebookexperimental/rust-shed@e3cfb8b Reviewed By: bigfootjon fbshipit-source-id: 0af7c26d90ce86230fdb9300df592552caba4eba
AsyncIoUringSocket: set established state before connect cb Summary: Matches what AsyncSocket does. The connectSuccess cb might do stuff that expects the state to be established e.g. TLS ClientHello. Reviewed By: dmm-fb Differential Revision: D89708149 fbshipit-source-id: 66ebe6d769aa57e1708609a0ae68ef9766a28590
Add PRETTY_BITS support to prettyPrint Summary: Network interfaces and bandwidth measurements are commonly specified in bits (e.g., 1 Gbps, 100 Mbps), but prettyPrint only supported bytes. This adds PRETTY_BITS_METRIC (with PRETTY_BITS alias) to format bit values with standard metric prefixes (kb, Mb, Gb, Tb, Pb, Eb). Reviewed By: skrueger Differential Revision: D89553275 fbshipit-source-id: a5ab99f2e4a29bf26b70776deacabe528980ccf2
result/detail/immortal_exception_storage.h Summary: This is an internal virtual interface used by `rich_exception_ptr` to interact with the actual implementation which is in `ptr_immortal_exception_storage.h`. Each immortal "instance" needs separate static storage, so there's a chain of templates in `immortal_rich_error.h` that creates a constant-initialized / static `ptr_immortal_exception_storage<PtrToImmortalErrorStorage>`, which is then used to instantiate a constant-initialized `rich_exception_ptr`. The latter uses the virtual interface declared here. # Diff stack context in D89023323 Reviewed By: ispeters Differential Revision: D89023194 fbshipit-source-id: 601f770cd0262f689f666bdef8804af619268f56
omit aux-vector ElfHwCaps tests on mobile Summary: The library is limited to non-mobile, so match that in the tests. Reviewed By: r1mikey Differential Revision: D88009793 fbshipit-source-id: 013642d059b01c31a3bdd06f8afb2a6998f47651
Enable `-Wdeprecated-this-capture` in multifeed/PACKAGE +1 Summary: This diff enables compilation warning flags for the directory in question. Further details are in [this workplace post](https://fb.workplace.com/permalink.php?story_fbid=pfbid02XaWNiCVk69r1ghfvDVpujB8Hr9Y61uDvNakxiZFa2jwiPHscVdEQwCBHrmWZSyMRl&id=100051201402394). This is a low-risk diff. There are **no run-time effects** and the diff has already been observed to compile locally. **If the code compiles, it work; test errors are spurious.** Differential Revision: D87405269 fbshipit-source-id: 8959956f5e065f0900caa576b74d96f94df587bb
PreviousNext