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.
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.
14 for /f "delims=" %%i in ('rustc --print=sysroot') do set rustc_sysroot=%%i
16 set rust_etc=%rustc_sysroot%\lib\rustlib\etc
18 windbg -c ".nvload %rust_etc%\libcore.natvis;.nvload %rust_etc%\libcollections.natvis;" %*