Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Allow #[cppgc] &mut T in sync ops" #793

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

littledivy
Copy link
Member

@littledivy littledivy commented Jun 21, 2024

Reverts #791

See #791 (review)

The following needs to be addressed before relanding:

  1. Disallow multiple &mut T in the same op.
  2. Make a try_unwrap_cppgc_object unsafe variant.
  3. Disallow use in op(reentrant)

@littledivy littledivy enabled auto-merge (squash) June 21, 2024 08:12
@littledivy
Copy link
Member Author

littledivy commented Jun 21, 2024

Two PRs (denoland/deno#24300 and denoland/deno#24299) have landed that use this in Deno (that are not affected by these issues). I'll try to fix this before next deno_core release, if not then we can revert the Deno changes

@littledivy littledivy merged commit 1d32260 into main Jun 21, 2024
18 checks passed
@lucacasonato
Copy link
Member

lucacasonato commented Jun 21, 2024

Moved comment to #787 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants