summaryrefslogtreecommitdiffstats
path: root/src/etc/rust-windbg.cmd
blob: 2deb2a03a397646a84dc928f1c35a15a91b5e476 (plain)
1
2
3
4
5
6
7
8
@echo off
setlocal

for /f "delims=" %%i in ('rustc --print=sysroot') do set rustc_sysroot=%%i

set rust_etc=%rustc_sysroot%\lib\rustlib\etc

windbg -c ".nvload %rust_etc%\intrinsic.natvis; .nvload %rust_etc%\liballoc.natvis; .nvload %rust_etc%\libcore.natvis;" %*