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

refactor(hydroflow_plus)!: defer network instantiation until after finalizing IR #1377

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

Copy link

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

Deploying hydroflow with  Cloudflare Pages  Cloudflare Pages

Latest commit: 12f8012
Status: ✅  Deploy successful!
Preview URL: https://a8204a12.hydroflow.pages.dev
Branch Preview URL: https://pr1377.hydroflow.pages.dev

View logs

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.

Seems like there's a few new Rc or RefCell wrappings :/

Comment on lines +44 to +47
pub enum DebugInstantiate<'a> {
Building(Box<dyn Fn() -> BuildingOut<'a> + 'a>),
Finalized(syn::Expr, syn::Expr, Rc<dyn Fn() + 'a>),
}
Copy link
Member

Choose a reason for hiding this comment

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

I guess all the added lifetimes trickle down to this one spot?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yep, will look into eliminating this eventually...

@shadaj shadaj merged commit 0eba702 into main Aug 14, 2024
27 checks passed
@shadaj shadaj deleted the pr1377 branch August 14, 2024 17:16
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