diff --git a/libdd-profiling-ffi/cbindgen.toml b/libdd-profiling-ffi/cbindgen.toml index 3a7f4d53ae..faba62ec7a 100644 --- a/libdd-profiling-ffi/cbindgen.toml +++ b/libdd-profiling-ffi/cbindgen.toml @@ -49,7 +49,6 @@ renaming_overrides_prefixing = true "ProfileNewResult" = "ddog_prof_Profile_NewResult" "ProfileResult" = "ddog_prof_Profile_Result" "Request" = "ddog_prof_Exporter_Request" -"RequestBuildResult" = "ddog_prof_Exporter_Request_BuildResult" "SendResult" = "ddog_prof_Exporter_SendResult" "SerializeResult" = "ddog_prof_Profile_SerializeResult" "Slice_File" = "ddog_prof_Exporter_Slice_File" diff --git a/libdd-profiling-ffi/src/exporter.rs b/libdd-profiling-ffi/src/exporter.rs index 3ca61c8e63..9a5661374b 100644 --- a/libdd-profiling-ffi/src/exporter.rs +++ b/libdd-profiling-ffi/src/exporter.rs @@ -211,9 +211,6 @@ unsafe fn parse_json( } /// Builds a request and sends it, returning the HttpStatus. -/// This is a more efficient version of calling `ddog_prof_Exporter_Request_build` -/// followed by `ddog_prof_Exporter_send`, as it avoids exposing the intermediate -/// `Request` object. /// /// # Arguments /// * `exporter` - Borrows the exporter.