Last active
February 18, 2025 23:50
-
-
Save krishvishal/a20ce595055dde388001cf4d2f82db4d to your computer and use it in GitHub Desktop.
To get VSCode debugger working, add this your rust project's .cargo directory.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[build] | |
rustflags = ["-C", "link-arg=-fuse-ld=lld"] | |
[target.x86_64-unknown-linux-gnu] | |
linker = "/usr/bin/clang-17" | |
ar = "/usr/bin/llvm-ar-17" | |
rustflags = ["-C", "link-arg=-fuse-ld=lld-17"] | |
[env] | |
CC = "/usr/bin/clang-17" | |
CXX = "/usr/bin/clang++-17" | |
AR = "/usr/bin/llvm-ar-17" | |
AS = "/usr/bin/llvm-as-17" | |
LD = "/usr/bin/lld-17" | |
CFLAGS = "-fuse-ld=lld-17" | |
CXXFLAGS = "-fuse-ld=lld-17" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment