From 0da6053f464962fe798885691a51a8e47dafc3e9 Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Tue, 10 Mar 2020 13:06:35 +0000 Subject: [PATCH] Bug 1621205 - Fix ABI for dlsym'ed callbacks in liblowercase. r=froydnj Fortunately, in practice, for the callbacks we use, it didn't matter. Differential Revision: https://phabricator.services.mozilla.com/D66182 --HG-- extra : moz-landing-system : lando --- build/liblowercase/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/liblowercase/lib.rs b/build/liblowercase/lib.rs index 29b7338e9867..781f59b04679 100644 --- a/build/liblowercase/lib.rs +++ b/build/liblowercase/lib.rs @@ -197,7 +197,7 @@ macro_rules! wrappers { $( paste::item! { #[allow(non_upper_case_globals)] - static [< real $name >]: Lazy $ret)?> = + static [< real $name >]: Lazy $ret)?> = Lazy::new(|| unsafe { transmute(libc::dlsym( libc::RTLD_NEXT,