From c915a3df3f7d3fda0053a8045dcb91b1eef0d836 Mon Sep 17 00:00:00 2001 From: Matthew Gaudet Date: Fri, 15 Sep 2023 14:46:15 +0000 Subject: [PATCH] Bug 1811356 - Disable clangd header insertion r=andi Differential Revision: https://phabricator.services.mozilla.com/D186492 --- python/mozbuild/mozbuild/backend/mach_commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/mozbuild/mozbuild/backend/mach_commands.py b/python/mozbuild/mozbuild/backend/mach_commands.py index 1b83ebc826f6..af92bddaaa59 100644 --- a/python/mozbuild/mozbuild/backend/mach_commands.py +++ b/python/mozbuild/mozbuild/backend/mach_commands.py @@ -355,6 +355,7 @@ def setup_clangd_rust_in_vscode(command_context): "--pch-storage", "disk", "--clang-tidy", + "--header-insertion=never", ], "rust-analyzer.server.extraEnv": { # Point rust-analyzer at the real target directory used by our