Support stripping Swift symbols #13122
Labels
not stale
Issues or PRs that are inactive but not considered stale
P3
We're not considering working on this, but happy to review a PR. (No assignee)
platform: apple
team-Rules-CPP
Issues for C++ rules
type: feature request
Description of the problem / feature request:
Support stripping Swift symbols for binaries built for Apple platforms.
Feature requests: what underlying problem are you trying to solve with this feature?
There's currently no option to allow stripping Swift symbols for binaries built for Apple platforms. Since
xcodebuild
's ipa exporting supports that (and defaults toYES
), results in binaries produced by Bazel has a slightly larger size compared to Xcode's.What operating system are you running Bazel on?
macOS
What's the output of
bazel info release
?release 4.0.0
Have you found anything relevant by searching the web?
From the
strip
man page:From the
xcodebuild -h
page:I found two code paths referencing to code stripping but
-T
is not passed, and passing it via--stripopt
doesn't take effect.bazel/src/main/java/com/google/devtools/build/lib/rules/objc/CompilationSupport.java
Lines 1561 to 1574 in 2576851
bazel/tools/osx/crosstool/cc_toolchain_config.bzl
Lines 296 to 311 in ef903e0
The text was updated successfully, but these errors were encountered: