# gpui_macos: Migrate \`prompt_for_path\` to \`objc2\` \(\#63994\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d3865b099eae3e453bc45ca9a8f7bc9879081342

Requested commit: d3865b099eae3e453bc45ca9a8f7bc9879081342

Commit: d3865b099eae3e453bc45ca9a8f7bc9879081342

Tree: 73e9b629bb6bbd35ec8cb2f827cf0bc2eda88821

Author: tidely

Committer: GitHub

## Message

```
gpui_macos: Migrate `prompt_for_path` to `objc2` (#63994)

# Objective

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

## Solution

Migrate to the `objc2` crate family.

This gets rid of `block` inside of `platform.rs` 🎉 

Release Notes:

- N/A
```

## Parents

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

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