summary refs log tree commit diff stats
path: root/rust/meson.build
diff options
context:
space:
mode:
authorTanish Desai <tanishdesai37@gmail.com>2025-09-29 17:49:31 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2025-10-01 11:22:07 -0400
commit54140102d2e57bd2e34823e4537d2191cdcd5f08 (patch)
tree404273b713b3c959c0a55468fbe140a9c3033e72 /rust/meson.build
parente2e182bef73f24d885f7f2ca589d8ec004c24877 (diff)
downloadfocaccia-qemu-54140102d2e57bd2e34823e4537d2191cdcd5f08.tar.gz
focaccia-qemu-54140102d2e57bd2e34823e4537d2191cdcd5f08.zip
rust: add trace crate
The trace crate is a minimal container for dependencies of tracepoints
(so that they do not have to be imported in all the crates that use
tracepoints); it also contains a macro called "include_trace!" that is
able to find the right include file from the trace/ directory.

[Write commit message, add #[allow()]. - Paolo]

Signed-off-by: Tanish Desai <tanishdesai37@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20250929154938.594389-10-pbonzini@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'rust/meson.build')
-rw-r--r--rust/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/meson.build b/rust/meson.build
index b3ac3a7197..695d5a62de 100644
--- a/rust/meson.build
+++ b/rust/meson.build
@@ -34,7 +34,7 @@ subdir('system')
 subdir('chardev')
 subdir('hw/core')
 subdir('tests')
-
+subdir('trace')
 subdir('hw')
 
 cargo = find_program('cargo', required: false)