xref: /openbmc/qemu/rust/Cargo.toml (revision 90868c3dcec755f567426d1fad64e7611053778e)
1[workspace]
2resolver = "2"
3members = [
4    "qemu-api-macros",
5    "qemu-api",
6    "hw/char/pl011",
7]
8
9[workspace.lints.rust]
10unexpected_cfgs = { level = "deny", check-cfg = [
11    'cfg(MESON)', 'cfg(HAVE_GLIB_WITH_ALIGNED_ALLOC)',
12    'cfg(has_offset_of)'] }
13
14# Prohibit code that is forbidden in Rust 2024
15unsafe_op_in_unsafe_fn = "deny"
16