This commit is contained in:
2025-10-25 18:11:12 +08:00
parent b7221cf343
commit 7db680831d
3 changed files with 5 additions and 1 deletions

View File

@@ -120,7 +120,8 @@ if dap_ok then
-- We need to query this to get the sysroot
-- ls $(rustc --print sysroot)/lib/rustlib/etc
local rust_path = vim.fn.system("rustc --print sysroot")
-- vim.print(rust_path)
-- trim trailing newline
rust_path =
local lldb_init = {
"command script import "..rust_path.."/lib/rustlib/etc/lldb_lookup.py",
"command source "..rust_path.."lib/rustlib/etc/lldb_commands",