mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
b724028d55
Summary: `hostcaps`'s `fb` feature enables getting the real `fbwhoami` values during cargo builds. The only cargo-based projects using `hostcaps` are `eden/scm/lib/commitcloudsubscriber` and `eden/scm/lib/config/loader`. Neither is making internal builds with `cargo`, so neither the `fb` feature nor `fbwhoami` are actually used. The `fbwhoami` refs in `eden/mononoke/rate_limiting` `eden/mononoke/server/qps` are from internal code. So that's not used either. The only thing using `fbwhoami` from a cargo build that needs it is `common/rust/scuba` and `scm/telemetry/scm-telem-log` - so both for `scm_telemetry`. Reviewed By: dtolnay Differential Revision: D52216174 fbshipit-source-id: 8c97e20d2eb0dd3152503d40e4796656b932d2a0
18 lines
415 B
TOML
18 lines
415 B
TOML
# @generated by autocargo from //common/rust/shed/hostcaps:[hostcaps,test-hostcaps]
|
|
|
|
[package]
|
|
name = "hostcaps"
|
|
version = "0.1.0"
|
|
authors = ["Facebook <opensource+rust-shed@fb.com>"]
|
|
edition = "2021"
|
|
readme = "../../README.md"
|
|
repository = "https://github.com/facebookexperimental/rust-shed"
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[[bin]]
|
|
name = "test_hostcaps"
|
|
path = "src/bin/test.rs"
|
|
|
|
[dependencies]
|
|
once_cell = "1.12"
|