summary refs log tree commit diff
path: root/pkgs/applications/editors/vscode/extensions/vscode-lldb/reset-cargo-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/editors/vscode/extensions/vscode-lldb/reset-cargo-config.patch')
-rw-r--r--pkgs/applications/editors/vscode/extensions/vscode-lldb/reset-cargo-config.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vscode/extensions/vscode-lldb/reset-cargo-config.patch b/pkgs/applications/editors/vscode/extensions/vscode-lldb/reset-cargo-config.patch
new file mode 100644
index 00000000000..e95df0a9cef
--- /dev/null
+++ b/pkgs/applications/editors/vscode/extensions/vscode-lldb/reset-cargo-config.patch
@@ -0,0 +1,19 @@
+diff --git a/.cargo/config b/.cargo/config
+index c3c75e4..e69de29 100644
+--- a/.cargo/config
++++ b/.cargo/config
+@@ -1,14 +0,0 @@
+-[build]
+-target-dir = "build/target"
+-
+-[target.armv7-unknown-linux-gnueabihf]
+-rustflags = [
+-    "-C", "link-arg=-fuse-ld=lld",
+-    "-C", "link-arg=--target=armv7-unknown-linux-gnueabihf",
+-]
+-
+-[target.aarch64-unknown-linux-gnu]
+-rustflags = [
+-    "-C", "link-arg=-fuse-ld=lld",
+-    "-C", "link-arg=--target=aarch64-unknown-linux-gnu",
+-]