We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11cad7d commit c1b2f48Copy full SHA for c1b2f48
crates/oxc_allocator/src/lib.rs
@@ -80,8 +80,11 @@ mod pool_fixed_size;
80
target_endian = "little"
81
))]
82
use pool_fixed_size as pool;
83
-// Import here so `generated/assert_layouts.rs` can access it
+// Import here so `generated/assert_layouts.rs` can access it.
84
+// Add `debug_assertions` here because `assert_layouts` is only loaded in debug mode,
85
+// so this is required to avoid unused vars lint warning in release mode.
86
#[cfg(all(
87
+ debug_assertions,
88
feature = "fixed_size",
89
not(feature = "disable_fixed_size"),
90
target_pointer_width = "64",
0 commit comments