From 99e3e122591b204b33e8a3190438d71d512d611c Mon Sep 17 00:00:00 2001 From: Bobby Holley Date: Thu, 4 Feb 2016 16:08:14 -0800 Subject: [PATCH] Add stub for missing je_malloc_usable_size symbol in geckolib. --- ports/geckolib/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ports/geckolib/lib.rs b/ports/geckolib/lib.rs index c3c90da9cb3..357cb9a3d70 100644 --- a/ports/geckolib/lib.rs +++ b/ports/geckolib/lib.rs @@ -39,3 +39,7 @@ mod wrapper; pub mod properties { include!(concat!(env!("OUT_DIR"), "/properties.rs")); } + +// FIXME(bholley): This should probably go away once we harmonize the allocators. +#[no_mangle] +pub extern "C" fn je_malloc_usable_size(_: *const ::libc::c_void) -> ::libc::size_t { 0 }