зеркало из https://github.com/mozilla/gecko-dev.git
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
This commit is contained in:
Родитель
17b040f472
Коммит
0da6053f46
|
@ -197,7 +197,7 @@ macro_rules! wrappers {
|
|||
$(
|
||||
paste::item! {
|
||||
#[allow(non_upper_case_globals)]
|
||||
static [< real $name >]: Lazy<fn($($t),*) $( -> $ret)?> =
|
||||
static [< real $name >]: Lazy<extern "C" fn($($t),*) $( -> $ret)?> =
|
||||
Lazy::new(|| unsafe {
|
||||
transmute(libc::dlsym(
|
||||
libc::RTLD_NEXT,
|
||||
|
|
Загрузка…
Ссылка в новой задаче