aboutsummaryrefslogtreecommitdiffstats
path: root/components/background_hang_monitor
diff options
context:
space:
mode:
authorAlex Touchet <26315797+atouchet@users.noreply.github.com>2025-03-30 12:03:54 -0700
committerGitHub <noreply@github.com>2025-03-30 19:03:54 +0000
commit1aac377e62f11d4b108b000e8d09d5c85edb2c32 (patch)
tree50e264d4d6ed255fb7d74a676a8596e18014909e /components/background_hang_monitor
parentb445053a7c5372320c53e2084c274362bc204357 (diff)
downloadservo-1aac377e62f11d4b108b000e8d09d5c85edb2c32.tar.gz
servo-1aac377e62f11d4b108b000e8d09d5c85edb2c32.zip
Organize component Cargo.toml dependencies (#36224)
Signed-off-by: Alex Touchet <26315797+atouchet@users.noreply.github.com>
Diffstat (limited to 'components/background_hang_monitor')
-rw-r--r--components/background_hang_monitor/Cargo.toml6
1 files changed, 3 insertions, 3 deletions
diff --git a/components/background_hang_monitor/Cargo.toml b/components/background_hang_monitor/Cargo.toml
index 2fce92ec05d..20216ec78b7 100644
--- a/components/background_hang_monitor/Cargo.toml
+++ b/components/background_hang_monitor/Cargo.toml
@@ -23,12 +23,12 @@ libc = { workspace = true }
log = { workspace = true }
serde_json = { workspace = true }
-[features]
-sampler = ["unwind-sys", "mach2", "nix"]
-
[target.'cfg(target_os = "macos")'.dependencies]
mach2 = { version = "0.4", optional = true }
[target.'cfg(all(target_os = "linux", not(any(target_arch = "arm", target_arch = "aarch64", target_env = "ohos", target_env = "musl"))))'.dependencies]
nix = { workspace = true, features = ["signal"], optional = true }
unwind-sys = { version = "0.1.4", optional = true }
+
+[features]
+sampler = ["unwind-sys", "mach2", "nix"]