blob: 0071a49cf7273e4c01b2791d0153c56e6466deb5 [file] [log] [blame]
rust = import('rust')
lib_rs = configure_file(
input: 'src/lib.rs',
output: 'lib.rs',
configuration: {
'MESON_BUILD_ROOT': meson.project_build_root(),
})
_trace_rs = static_library(
'trace', # Library name,
lib_rs,
trace_rs_targets, # List of generated `.rs` custom targets
dependencies: [libc_rs, probe_rs],
)
trace_rs = declare_dependency(link_with: _trace_rs)