diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2025-09-24 16:04:23 +0400 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2025-09-30 19:33:25 +0400 |
| commit | 582a39beea414c092dbd8c178f3eff3a718eee77 (patch) | |
| tree | 2f73671becec987d67bdbf2a8a5e19cf6727ead0 /rust/hw/core | |
| parent | 7a3fe60cb0ec2742371fd96a396de118800b213d (diff) | |
| download | focaccia-qemu-582a39beea414c092dbd8c178f3eff3a718eee77.tar.gz focaccia-qemu-582a39beea414c092dbd8c178f3eff3a718eee77.zip | |
build-sys: pass -fvisibility=default for wasm bindgen
Otherwise, no functions are generated: https://github.com/rust-lang/rust-bindgen/issues/2989 Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Kohei Tokunaga <ktokunaga.mail@gmail.com> Message-ID: <20250924120426.2158655-27-marcandre.lureau@redhat.com>
Diffstat (limited to 'rust/hw/core')
| -rw-r--r-- | rust/hw/core/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/hw/core/meson.build b/rust/hw/core/meson.build index 81d8c77f9a..e1ae95ed61 100644 --- a/rust/hw/core/meson.build +++ b/rust/hw/core/meson.build @@ -41,6 +41,7 @@ _hwcore_bindings_inc_rs = rust.bindgen( include_directories: bindings_incdir, bindgen_version: ['>=0.60.0'], args: bindgen_args_common + _hwcore_bindgen_args, + c_args: bindgen_c_args, ) _hwcore_rs = static_library( |