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

fix(hydroflow_plus): rewrite IR in place to avoid stack overflow and disable cloning #1404

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

shadaj
Copy link
Member

@shadaj shadaj commented Aug 20, 2024

Cloning was unsafe because values behind a Rc<RefCell<...>> in the case of tee would be entangled with the old IR.

Stack created with Sapling. Best reviewed with ReviewStack.

Copy link

cloudflare-workers-and-pages bot commented Aug 20, 2024

Deploying hydroflow with  Cloudflare Pages  Cloudflare Pages

Latest commit: 25cdb0a
Status:🚫  Build failed.

View logs

@shadaj shadaj changed the title fix(hydroflow_plus): rewrite IR in place to avoid stack overflow fix(hydroflow_plus): rewrite IR in place to avoid stack overflow and disable cloning Aug 21, 2024
@shadaj shadaj marked this pull request as ready for review August 21, 2024 17:08
…disable cloning

Cloning was unsafe because values behind a `Rc<RefCell<...>>` in the case of tee would be entangled with the old IR.
Copy link
Member

@MingweiSamuel MingweiSamuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noisy diff but lgtm, nice

@shadaj shadaj merged commit 1aeacb2 into main Aug 21, 2024
26 of 27 checks passed
@shadaj shadaj deleted the pr1404 branch August 21, 2024 20:34
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