Skip to content

SYSTEM Cited by 1 source

Buck2

What it is

Buck2 is Meta's large-scale open-source build system (the Rust-based successor to the original Buck). It is the build system for Meta's monorepo and was open-sourced in April 2023 — see the Buck2 announcement. It supports fine-grained hermetic action-graph-based builds, remote-execution, and parametric target definitions.

Seen in

  • sources/2026-04-09-meta-escaping-the-fork-webrtc-modernization — Buck is used as the build-graph primitive for handling injected WebRTC-internal components that can't be shimmed source-level ("shimming these components would mean proxying WebRTC against itself"). Instead, Meta uses Buck target duplication plus C++ macros to dynamically change namespaces at build time, duplicate the high-level build target, and expose symbols for both flavors through a single header. The build-system-level answer to "I need two copies of this component's symbols, one per WebRTC flavor" — more surgical than source duplication, avoids the shim-against-itself problem.
Last updated · 319 distilled / 1,201 read