Unverified Commit 08e79611 authored by jade's avatar jade Committed by GitHub
Browse files

cargo-nextest: update `no-dtrace-macos.patch` (#488786)

parents 0fa4e662 0b696848
Loading
Loading
Loading
Loading
+39 −39
Original line number Diff line number Diff line
diff --git a/nextest-runner/Cargo.toml b/nextest-runner/Cargo.toml
index 776c9341..06196bd2 100644
index 748f162e4c..2cda438ded 100644
--- a/nextest-runner/Cargo.toml
+++ b/nextest-runner/Cargo.toml
@@ -118,7 +118,7 @@ nix.workspace = true
@@ -126,7 +126,7 @@
 #
 # Also, usdt 0.6.0 fails to compile on x86_64-apple-darwin, so restrict it to
 # aarch64-apple-darwin.
-[target.'cfg(any(all(target_arch = "x86_64", any(target_os = "linux", target_os = "freebsd", target_os = "illumos")), all(target_arch = "aarch64", any(target_os = "macos", target_os = "freebsd", target_os = "illumos"))))'.dependencies]
+[target.'cfg(any(all(target_arch = "x86_64", any(target_os = "linux", target_os = "freebsd", target_os = "illumos")), all(target_arch = "aarch64", any(target_os = "freebsd", target_os = "illumos"))))'.dependencies]
 usdt = "0.6.0"
 usdt = { version = "0.6.0", optional = true }
 
 [target.'cfg(windows)'.dependencies]
diff --git a/nextest-runner/src/usdt.rs b/nextest-runner/src/usdt.rs
index 7732eeb4..af69015b 100644
index b0905030a4..a1abbcfdca 100644
--- a/nextest-runner/src/usdt.rs
+++ b/nextest-runner/src/usdt.rs
@@ -28,7 +28,7 @@ use serde::Serialize;
@@ -30,7 +30,7 @@
         ),
         all(
             target_arch = "aarch64",
-            any(target_os = "macos", target_os = "freebsd", target_os = "illumos")
+            any(target_os = "freebsd", target_os = "illumos")
         )
     )
 ))]
 pub fn register_probes() -> Result<(), usdt::Error> {
@@ -43,7 +43,7 @@ pub fn register_probes() -> Result<(), usdt::Error> {
@@ -48,7 +48,7 @@
         ),
         all(
             target_arch = "aarch64",
-            any(target_os = "macos", target_os = "freebsd", target_os = "illumos")
+            any(target_os = "freebsd", target_os = "illumos")
         )
     )
 )))]
 pub fn register_probes() -> Result<(), std::convert::Infallible> {
@@ -57,7 +57,7 @@ pub fn register_probes() -> Result<(), std::convert::Infallible> {
@@ -65,7 +65,7 @@
         ),
         all(
             target_arch = "aarch64",
-            any(target_os = "macos", target_os = "freebsd", target_os = "illumos")
+            any(target_os = "freebsd", target_os = "illumos")
         )
     )
 ))]
 #[usdt::provider(provider = "nextest")]
@@ -135,7 +135,7 @@ pub mod usdt_probes {
@@ -146,7 +146,7 @@
         ),
         all(
             target_arch = "aarch64",
-            any(target_os = "macos", target_os = "freebsd", target_os = "illumos")
+            any(target_os = "freebsd", target_os = "illumos")
         )
     )
 ))]
 #[macro_export]
@@ -246,7 +246,7 @@ macro_rules! fire_usdt {
@@ -260,7 +260,7 @@
         ),
         all(
             target_arch = "aarch64",
-            any(target_os = "macos", target_os = "freebsd", target_os = "illumos")
+            any(target_os = "freebsd", target_os = "illumos")
         )
     )
 )))]
 #[macro_export]