# gpui_macos: Migrate \`get_sources\` to \`objc2\` \(\#64031\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 86b2cf96623a12ae3f524c3780b6bcce4443ed23

Requested commit: 86b2cf96623a12ae3f524c3780b6bcce4443ed23

Commit: 86b2cf96623a12ae3f524c3780b6bcce4443ed23

Tree: be4b2c2401ae96355e41610ca27e99e065e48c07

Author: tidely

Committer: GitHub

## Message

```
gpui_macos: Migrate `get_sources` to `objc2` (#64031)

# 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.

## Testing

I tested screen sharing inside of a Zed channel

Release Notes:

- N/A
```

## Parents

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

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