# gpui_apple: Remove \`block\` as a direct dependency \(\#64641\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/b89471c52d22d2c642a9db6b4ad7e22f232bc974)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: b89471c52d22d2c642a9db6b4ad7e22f232bc974

Requested commit: b89471c52d22d2c642a9db6b4ad7e22f232bc974

Commit: b89471c52d22d2c642a9db6b4ad7e22f232bc974

Tree: 036f168a777c7488a81d510b1819e31f7a88d65c

Author: tidely

Committer: GitHub

## Message

```
gpui_apple: Remove `block` as a direct dependency (#64641)

# Objective

Get rid of instances of the `block` crate, as it will not compile in a
future version of Rust.

## Solution

Migrate an independent code block to the `objc2` crate family.

This is the last PR in this series, and we get to remove `block` as a
direct dependency!

## Testing

- Tested rendering on MacOS

Release Notes:

- N/A
- [GPUI] Removed `block` as a direct dependency
```

## Parents

- [eb2f43d982f7c020a47503241759e2b8db07536b](https://git.cafe/gitcafe/zed/commit/eb2f43d982f7c020a47503241759e2b8db07536b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/b89471c52d22d2c642a9db6b4ad7e22f232bc974?format=markdown)
