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 18efa58 commit 60ad3e4Copy full SHA for 60ad3e4
sdk/pinocchio/src/entrypoint/mod.rs
@@ -318,6 +318,12 @@ macro_rules! default_allocator {
318
start: $crate::entrypoint::HEAP_START_ADDRESS as usize,
319
len: $crate::entrypoint::HEAP_LENGTH,
320
};
321
+
322
+ // A placeholder for `cargo clippy`
323
+ #[cfg(not(target_os = "solana"))]
324
+ #[cfg(not(feature = "std"))]
325
+ #[global_allocator]
326
+ static A: $crate::entrypoint::NoAllocator = $crate::entrypoint::NoAllocator;
327
328
}
329
0 commit comments