mirror of
https://github.com/facebook/sapling.git
synced 2024-12-25 05:53:24 +03:00
0830e9a481
Summary: In Mercurial we're finding use cases for conditioning on buck vs non-buck builds. For instance, in some cases we specify #[link] directives for non-buck builds, but don't need to for buck builds (https://fb.workplace.com/groups/rust.language/permalink/4568487309866515/). In other cases we want to depend on internal buck libraries when building with buck, and not otherwise. Let's add a fb_buck_build cfg so other projects may distinguish the same. Reviewed By: jsgf Differential Revision: D24493974 fbshipit-source-id: 1d558cbe0ae01ab4a7b4b5d6d4be75bb8ab0f41a |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |