Skip to content

deploy, apple ops: satisfy denied unsafe_code (part of #12395) - #12691

Open
TrapsterDK wants to merge 1 commit into
rust-deny-panic-unsafefrom
rust-panic-unsafe-deploy-apple
Open

TrapsterDK wants to merge 1 commit into
rust-deny-panic-unsafefrom
rust-panic-unsafe-deploy-apple

Conversation

@TrapsterDK

Copy link
Copy Markdown
Collaborator

Part of #12395. Depends on #12681 (base branch rust-deny-panic-unsafe).

Adds #[expect(unsafe_code, reason)] on the items holding existing SAFETY-commented unsafe in deploy/private (config, test_support, install tests) and apple/private/tools/ops (lib, signing). The panic sites in these crates are inside test code, which is exempt.

Not run: clippy (tools/dx check --affected hit a Bazel OOM and a generate failure unrelated to these files), nested-Bazel and consumer tests.

Remaining: unsafe in fixtures apple/tests/fixtures/{macos_bundle,swift_app,xcframework_share,shared_core} and deploy/tests/fixtures/consumer_archive/app.rs; clippy confirmation for any other site.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant