You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to the `devcontainer.json`'s IDE-specific settings (example shown is for VS Code). The symbol definitions are copied from [`cmrschwarz/rust-prettifier-for-lldb`](https://github.com/cmrschwarz/rust-prettifier-for-lldb).
54
+
55
+
### Using a Subdirectory for Your Rust Code
56
+
57
+
If your code lives in a separate directory that is not the repository root, set
58
+
59
+
```jsonc
60
+
"lldb.launch.cwd":"${containerWorkspaceFolder}/<SUBDIRECTORY OF YOUR CODE>",
61
+
"lldb.launch.relativePathBase":"${containerWorkspaceFolder}/<SUBDIRECTORY OF YOUR CODE>"
62
+
```
63
+
64
+
You should also create a symbolic link for a potential `rust-toolchain.toml` file via
65
+
66
+
```bash
67
+
ln -s "<SUBDIRECTORY OF YOUR CODE>/rust-toolchain.toml"'rust-toolchain.toml'
68
+
```
69
+
70
+
This is currently required for the [`rust-lang.rust-analyzer`](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) extension to work properly.
0 commit comments