]> git.lizzy.rs Git - rust.git/blob - src/etc/rust-windbg.cmd
Auto merge of #46713 - Manishearth:memchr, r=bluss
[rust.git] / src / etc / rust-windbg.cmd
1 @echo off
2 setlocal
3
4 REM Copyright 2014 The Rust Project Developers. See the COPYRIGHT
5 REM file at the top-level directory of this distribution and at
6 REM http://rust-lang.org/COPYRIGHT.
7 REM
8 REM Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
9 REM http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
10 REM <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
11 REM option. This file may not be copied, modified, or distributed
12 REM except according to those terms.
13
14 for /f "delims=" %%i in ('rustc --print=sysroot') do set rustc_sysroot=%%i
15
16 set rust_etc=%rustc_sysroot%\lib\rustlib\etc
17
18 windbg -c ".nvload %rust_etc%\intrinsic.natvis; .nvload %rust_etc%\liballoc.natvis; .nvload %rust_etc%\libcore.natvis;" %*