# gpui_macos: Migrate \`start_external_drag\` to \`objc2\` \(\#64033\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 72c53bf0aae2e619f146d96415f79caf77310455

Requested commit: 72c53bf0aae2e619f146d96415f79caf77310455

Commit: 72c53bf0aae2e619f146d96415f79caf77310455

Tree: a896d59b2ff938c47c5156175c912c5522524409

Author: tidely

Committer: GitHub

## Message

```
gpui_macos: Migrate `start_external_drag` to `objc2` (#64033)

# 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

Tested dragging/dropping files & folders from Zed into Finder. There
seems to be some highlighting bug with folders, but that existed
previously as well.

Release Notes:

- N/A

---------

Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
```

## Parents

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

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