Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/profile/Cargo.toml')
| -rw-r--r-- | crates/profile/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/profile/Cargo.toml b/crates/profile/Cargo.toml index 3179c810f6..65eec868af 100644 --- a/crates/profile/Cargo.toml +++ b/crates/profile/Cargo.toml @@ -17,7 +17,7 @@ cfg-if = "1.0.0" libc.workspace = true jemalloc-ctl = { version = "0.5.0", package = "tikv-jemalloc-ctl", optional = true } -[target.'cfg(target_os = "linux")'.dependencies] +[target.'cfg(all(target_os = "linux", not(target_env = "ohos")))'.dependencies] perf-event = "=0.4.7" [target.'cfg(windows)'.dependencies] |