Skip to content

Commit c80a26f

Browse files
authored
make use of the symlink, to ease things (#1608)
1 parent 2c113b3 commit c80a26f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/closure.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ This uses the stage1 compiler and enables `debug!` logging for the
155155

156156
The other option is to step through the code using lldb or gdb.
157157

158-
1. `rust-lldb build/x86_64-apple-darwin/stage1/bin/rustc test.rs`
158+
1. `rust-lldb build/host/stage1/bin/rustc test.rs`
159159
2. In lldb:
160160
1. `b upvar.rs:134` // Setting the breakpoint on a certain line in the upvar.rs file`
161161
2. `r` // Run the program until it hits the breakpoint

src/compiler-debugging.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,9 @@ from the directory where it is built (does not have to be "installed"):
361361
"request": "launch",
362362
"name": "Launch",
363363
"args": [], // array of string command-line arguments to pass to compiler
364-
"program": "${workspaceFolder}/build/TARGET/stage1/bin/rustc",
364+
"program": "${workspaceFolder}/build/host/stage1/bin/rustc",
365365
"windows": { // applicable if using windows
366-
"program": "${workspaceFolder}/build/x86_64-pc-windows-msvc/stage1/bin/rustc.exe"
366+
"program": "${workspaceFolder}/build/host/stage1/bin/rustc.exe"
367367
},
368368
"cwd": "${workspaceFolder}", // current working directory at program start
369369
"stopOnEntry": false,

0 commit comments

Comments
 (0)