commit | 7630ca2a701a0f79728996e660cda06518c97b9b | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Feb 10 16:11:58 2025 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Feb 13 12:19:34 2025 +0100 |
tree | e5dea0c62d84107da1b947042e90d0ee8f7ad809 | |
parent | a22bd55ffd889f3027c3158d0014c76f204c69dd [diff] |
rust: pl011: convert pl011_create to safe Rust Not a major change but, as a small but significant step in creating qdev bindings, show how pl011_create can be written without "unsafe" calls (apart from converting pointers to references). This also provides a starting point for creating Error** bindings. Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>