bazelbuild / bazelbuild/rules_apple

Considering passing -no_adhoc_codesign to top level binaries

Open
#1,360 2 comments 3 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
593
Forks
334
Avg merge
16h 48m
Merged PRs (30d)
9

Description

ld64 automatically codesigns binaries in some cases, like when building on a M1 machine, this can be duplicative if we separately sign the binary right afterwards, we should investigate if it's safe for us to disable this in some cases

Contributor guide

Open the contributing guide

Research direction

Start by examining how ld64 applies automatic codesigning to top-level binaries on M1 builds and where the -no_adhoc_codesign option could be passed. Determine whether disabling it is safe when binaries are signed separately afterward, and document the conditions or evidence needed before changing the build behavior.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.