mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-30 22:03:54 -06:00

This commit adds a re-implementation of hw/char/pl011.c in Rust. How to build: 1. Configure a QEMU build with: --enable-system --target-list=aarch64-softmmu --enable-rust 2. Launching a VM with qemu-system-aarch64 should use the Rust version of the pl011 device Co-authored-by: Junjie Mao <junjie.mao@intel.com> Co-authored-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Junjie Mao <junjie.mao@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org> Link: https://lore.kernel.org/r/6ec1d4fb8db2a1d7ba94c73e65d9770371b7857d.1727961605.git.manos.pitsidianakis@linaro.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
20 lines
528 B
Meson
20 lines
528 B
Meson
project('unicode-ident-1-rs', 'rust',
|
|
version: '1.0.12',
|
|
license: '(MIT OR Apache-2.0) AND Unicode-DFS-2016',
|
|
default_options: [])
|
|
|
|
_unicode_ident_rs = static_library(
|
|
'unicode_ident',
|
|
files('src/lib.rs'),
|
|
gnu_symbol_visibility: 'hidden',
|
|
override_options: ['rust_std=2021', 'build.rust_std=2021'],
|
|
rust_abi: 'rust',
|
|
dependencies: [],
|
|
native: true,
|
|
)
|
|
|
|
unicode_ident_dep = declare_dependency(
|
|
link_with: _unicode_ident_rs,
|
|
)
|
|
|
|
meson.override_dependency('unicode-ident-1-rs', unicode_ident_dep, native: true)
|