Otherwise, the Rust crates require the corresponding C code
(e.g. migration/ for rust/migration/) but the dependencies of
that C code, for example the trace files, have not been built.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
+if not have_system
+ subdir_done()
+else
+ message('Rust enabled but it is only used by system emulators.')
+endif
+
subproject('anyhow-1-rs', required: true)
subproject('bilge-0.2-rs', required: true)
subproject('bilge-impl-0.2-rs', required: true)
subdir('common')
subdir('bits')
+
subdir('util')
subdir('bql')
subdir('migration')