Unnamed repository; edit this file 'description' to name the repository.
| -rw-r--r-- | crates/profile/src/google_cpu_profiler.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/profile/src/google_cpu_profiler.rs b/crates/profile/src/google_cpu_profiler.rs index cae6caeaa6..d77c945f26 100644 --- a/crates/profile/src/google_cpu_profiler.rs +++ b/crates/profile/src/google_cpu_profiler.rs @@ -9,7 +9,7 @@ use std::{ #[link(name = "profiler")] #[allow(non_snake_case)] -extern "C" { +unsafe extern "C" { fn ProfilerStart(fname: *const c_char) -> i32; fn ProfilerStop(); } |