Files
zed/crates
tidely 4b47ceb9d3 gpui_macos: Migrate screen capture to objc2 (#64251)
# Objective

Get rid of instances of the `block` crate, as it will not compile in a
future version of Rust. This gets rid of the `block` crate inside of
`gpui_macos`, which means were on the home stretch.

## Solution

Migrate `screen_capture.rs` completely to `objc2`. While a more targeted
fix is theoretically possible, there were enough upsides where I thought
this was worth a full migration.

Completely gets rid of the `media` crate, which had manual bindings to
`core_media`, which `objc2` can provide. Gets rid of tons of unsafe
code, and a lot of code in general.

## Testing

Tested manual sharing inside of a Zed channel

Release Notes:

- N/A
- [GPUI] Migrated macOS screen capture to `objc2`
2026-09-17 01:46:02 +00:00
..
2026-08-09 22:29:52 +00:00
2026-09-04 22:54:09 +00:00
2026-09-11 09:13:44 +00:00
2026-09-11 09:13:44 +00:00
2026-05-04 06:30:47 +00:00
…
2026-09-11 09:13:44 +00:00
2026-09-02 18:21:25 +00:00
2026-08-09 22:29:52 +00:00
2026-08-09 22:29:52 +00:00