summary refs log tree commit diff
path: root/src/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/meson.build')
-rw-r--r--src/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/meson.build b/src/meson.build
index 350b911..3bc0c3f 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -10,6 +10,12 @@ else
   message('Building in debug mode')
 endif
 
+cargo_options += [ '--no-default-features' ]
+
+if get_option('llm')
+  cargo_options += [ '--features=smart-summary' ]
+endif
+
 cargo_env = [
     'CARGO_HOME=' + meson.project_build_root() / 'cargo-home',
     'PKGDATADIR=' + pkgdatadir,