1
0
mirror of https://github.com/facebook/proxygen.git synced 2026-10-24 01:33:54 +03:00
Files
proxygen/build
Genevieve (Genna) Helsel 2e440d42b1 RustStaticLibrary: add PACKAGE and ENV arguments
Summary:
`rust_static_library()` passes the crate name to `cargo build -p`, so it can't build a crate whose package has another name, like the `edenfs_staticlib` crate in the `edenfs-staticlib` package that D125301398 adds. The new `PACKAGE` argument names the package and defaults to the crate name.

`rust_executable()` gains `ENV`, a list of `NAME=VALUE` pairs for the `cargo build` environment. eden uses it to tell `curl-sys` when getdeps' libcurl is a static library.

Reviewed By: bigfootjon

Differential Revision: D125255421

fbshipit-source-id: db7ca288cc38d491b378b8c71575a6995aa5af8a
2026-10-22 16:56:04 -07:00
..
2026-10-22 09:32:39 -07:00
…

Building using fbcode_builder

Continuous integration builds are powered by fbcode_builder, a tiny tool shared by several Facebook projects. Its files are in ./fbcode_builder (on Github) or in fbcode/opensource/fbcode_builder (inside Facebook's repo).

Start with the READMEs in the fbcode_builder directory.

./fbcode_builder_config.py contains the project-specific configuration.