From b31d8e8067afa98e8b3557d545bd57c1f5b0bab6 Mon Sep 17 00:00:00 2001 From: Ivan Lozano Date: Mon, 8 Jul 2024 14:53:41 +0000 Subject: [PATCH] Disable dsymutil usage on Darwin host dsymutil is not available during builds. This is disabled by turning off split-debuginfo. Bug: 349612831 Bug: 351760165 Test: Pre/post submit Change-Id: Idd6f00519e303fe02b35ec8c18682afa799f4df4 --- rust/config/darwin_host.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/config/darwin_host.go b/rust/config/darwin_host.go index 03bea8274..a4bc1879c 100644 --- a/rust/config/darwin_host.go +++ b/rust/config/darwin_host.go @@ -21,7 +21,7 @@ import ( ) var ( - DarwinRustFlags = []string{} + DarwinRustFlags = []string{"-C split-debuginfo=off"} DarwinRustLinkFlags = []string{ "-B${cc_config.MacToolPath}", }