Gate performance feature on cfg (#10277)

This commit is contained in:
Charlie Marsh
2025-01-02 12:31:19 -05:00
committed by GitHub
parent 2eba52f674
commit d1a5a27da9
+1
View File
@@ -1,5 +1,6 @@
// Don't optimize the alloc crate away due to it being otherwise unused.
// https://github.com/rust-lang/rust/issues/64402
#[cfg(feature = "performance-memory-allocator")]
extern crate uv_performance_memory_allocator;
use std::process::ExitCode;