Skip to content

Don't fail metal create_fence if no shared event could be created#9415

Open
Wumpf wants to merge 2 commits intogfx-rs:trunkfrom
Wumpf:handle-metal-shared-event-failure
Open

Don't fail metal create_fence if no shared event could be created#9415
Wumpf wants to merge 2 commits intogfx-rs:trunkfrom
Wumpf:handle-metal-shared-event-failure

Conversation

@Wumpf
Copy link
Copy Markdown
Member

@Wumpf Wumpf commented Apr 12, 2026

Description
Fixes an unnecessary unwrap that messes with may sandboxing.

Usecase is that I ran more and more AI agents in sandboxing. My sandbox interface of choice, nono, recently added an --allow-gpu option and it works just fine, except for creation of shared events, which when you think about it makes a lot of sense.

Testing
With this I can run wgpu examples in my nono sandbox profile with --allow-gpu - presentation interestingly fails sildently, so I end up an empty window. But don't care for my current purposes!
Confirmed that Rerun image comparision tests work with this.

Squash or Rebase?
s

@Wumpf Wumpf added the PR: needs back-porting PR with a fix that needs to land on crates label Apr 12, 2026
@Wumpf Wumpf force-pushed the handle-metal-shared-event-failure branch from de561a8 to e345251 Compare April 12, 2026 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: needs back-porting PR with a fix that needs to land on crates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant