Skip to content

Commit b224284

Browse files
committed
style: trim down PR diff
1 parent 7460b9a commit b224284

File tree

6 files changed

+2
-11
lines changed

6 files changed

+2
-11
lines changed

Cargo.lock

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,6 @@ incremental = false
8989
codegen-units = 1
9090

9191
[patch.crates-io]
92-
# https://github.com/mozilla/cbindgen/pull/785
93-
# cbindgen = { git = "https://github.com/morrisonlevi/cbindgen.git", branch = "merge-generic-tags" }
9492
# proptest pulls in a dependency on libm, which changes the runtime of some math functions
9593
# so benchmarks are not measuring the same thing as the release build. This patch removes
9694
# the default dependency on libm. A PR will be opened to proptest to make this optional.

datadog-alloc/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ rust-version.workspace = true
99
license.workspace = true
1010

1111
[features]
12-
alloc = ["allocator-api2/alloc"]
1312

1413
[dependencies]
1514
allocator-api2 = { version = "0.2", default-features = false }
@@ -26,7 +25,7 @@ features = [
2625
]
2726

2827
[dev-dependencies]
29-
datadog-alloc = { path = ".", features = ["alloc"] }
28+
allocator-api2 = { version = "0.2", default-features = false, features = ["alloc"] }
3029
bolero = "0.13"
3130

3231
[lib]

datadog-alloc/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,3 @@ pub use virtual_alloc::*;
2020
// Expose allocator_api2 for our users.
2121
pub use allocator_api2::alloc::*;
2222

23-
#[cfg(feature = "alloc")]
24-
pub use allocator_api2::boxed::*;

datadog-profiling-ffi/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ build_common = { path = "../build-common" }
3838
allocator-api2 = { version = "0.2", features = ["alloc"] }
3939
anyhow = "1.0"
4040
data-pipeline-ffi = { path = "../data-pipeline-ffi", default-features = false, optional = true }
41-
datadog-alloc = { path = "../datadog-alloc", features = ["alloc"] }
4241
datadog-crashtracker-ffi = { path = "../datadog-crashtracker-ffi", default-features = false, optional = true}
4342
datadog-library-config-ffi = { path = "../datadog-library-config-ffi", default-features = false, optional = true }
4443
datadog-profiling = { path = "../datadog-profiling" }

datadog-profiling-ffi/src/status.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
// Copyright 2025-Present Datadog, Inc. https://www.datadoghq.com/
22
// SPDX-License-Identifier: Apache-2.0
33

4-
use allocator_api2::alloc::{Allocator, Global, Layout};
5-
use datadog_alloc::AllocError;
4+
use allocator_api2::alloc::{Allocator, AllocError, Global, Layout};
65
use datadog_profiling::profiles::FallibleStringWriter;
76
use std::borrow::Cow;
87
use std::ffi::{c_char, CStr, CString};

0 commit comments

Comments
 (0)