Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions crates/onnx-runtime-ep-cpu/src/task_runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,10 @@ mod tests {
);
}

// Both readers of this constant are `cfg(target_os = "linux")` (the child
// test reads `/proc/self/task`, which only exists there). Left ungated it
// is dead code off-Linux, and those lanes build with `-D warnings`.
#[cfg(target_os = "linux")]
const COUNTERS_OBSERVER_CHILD_ENV: &str = "ONNX_GENAI_COUNTERS_OBSERVER_CHILD";

/// Child half of [`observing_the_counters_does_not_build_the_pool`].
Expand Down
Loading