We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 772ad39 commit 499c100Copy full SHA for 499c100
1 file changed
src/lnav_commands.cc
@@ -245,6 +245,9 @@ com_add_src_path(exec_context& ec,
245
return ec.make_error("expecting file name to open");
246
}
247
248
+#if !defined(HAVE_RUST_DEPS)
249
+ return ec.make_error("source paths are not supported in this build");
250
+#else
251
auto pat = trim(remaining_args(cmdline, args));
252
std::string retval;
253
@@ -291,6 +294,7 @@ com_add_src_path(exec_context& ec,
291
294
if (!ec.ec_dry_run) {
292
295
lnav_rs_ext::discover_srcs();
293
296
297
+#endif
298
return Ok(retval);
299
300
0 commit comments