diff options
author | Kohei Tokunaga <ktokunaga.mail@gmail.com> | 2025-04-28 15:38:58 +0900 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-05-06 16:02:04 +0200 |
commit | c4eb098bc1cf3dbcc3627352031c086a6969a7cf (patch) | |
tree | e4b7a3039809fcd44ebba9e84b8ec829eef5c043 /rust/qemu-api-macros/src | |
parent | bea4eb18c501e8b55debb1bdc6ccfee2791e1643 (diff) | |
download | qemu-c4eb098bc1cf3dbcc3627352031c086a6969a7cf.zip qemu-c4eb098bc1cf3dbcc3627352031c086a6969a7cf.tar.gz qemu-c4eb098bc1cf3dbcc3627352031c086a6969a7cf.tar.bz2 |
target/s390x: Fix type conflict of GLib function pointers
On Emscripten, function pointer casts can result in runtime failures due to
strict function signature checks. This affects the use of g_list_sort and
g_slist_sort, which internally perform function pointer casts that are not
supported by Emscripten. To avoid these issues, g_list_sort_with_data and
g_slist_sort_with_data should be used instead, as they do not rely on
function pointer casting.
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Link: https://lore.kernel.org/r/e91c4e266b839f62b5c41173a05896b210ae1180.1745820062.git.ktokunaga.mail@gmail.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros/src')
0 files changed, 0 insertions, 0 deletions