Rust debugging and blog WIP

This commit is contained in:
2025-10-25 00:06:45 +08:00
parent 167ca8c811
commit c11169701f
4 changed files with 56 additions and 182 deletions

View File

@@ -117,7 +117,10 @@ vim.api.nvim_create_user_command("Args", function(a) updateArgs(a.fargs) end,
{ nargs = '*', desc = "Update run/debug arguments" })
if dap_ok then
local lldb_init = {}
local lldb_init = {
"command script import ~/.rustup/toolchains/nightly-2025-02-19-aarch64-apple-darwin/lib/rustlib/etc/lldb_lookup.py",
"command source ~/.rustup/toolchains/nightly-2025-02-19-aarch64-apple-darwin/lib/rustlib/etc/lldb_commands",
}
dap_configs = {
{
name = 'test all',