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

medium-ip does not compile complaining of needing EthernetAddress #703

Closed
wants to merge 4 commits into from
Closed

medium-ip does not compile complaining of needing EthernetAddress #703

wants to merge 4 commits into from

Conversation

gopakumarce
Copy link

The structure in question seems to be used only for ipv4 fragmentation, hence marking it the same

Dirbaio and others added 3 commits October 24, 2022 01:30
The current `'a` lifetime in the `Device` trait is essentially a workaround for lack of GATs.
I'm just experimenting how this would look like, it'll have to wait until GATs are stable to go in.

The main benefit is structs implementing `Device` can now borrow stuff. This wasn't possible
before because the `for<'d> T: Device<'d>` bounds would essentially imply `T: 'static`.
@Dirbaio
Copy link
Member

Dirbaio commented Oct 30, 2022

can you add the feature combination that previously failed here so that it doesn't break again in the future? Thanks!

@gopakumarce
Copy link
Author

@Dirbaio thx, I have added the combination to the workflow

@gopakumarce
Copy link
Author

Also @Dirbaio now that rust 1.65 is released, would you be merging this to main and releasing an official version with this change ?

@Dirbaio Dirbaio force-pushed the gat-device branch 3 times, most recently from b92fc8f to 13cc7f8 Compare November 6, 2022 20:45
@bors bors bot deleted the branch smoltcp-rs:gat-device November 6, 2022 20:55
@bors bors bot closed this Nov 6, 2022
@Dirbaio
Copy link
Member

Dirbaio commented Nov 6, 2022

It seems you've accidentally rebased on top of an old version of #572, could you remove the unrelated commits?

@Dirbaio
Copy link
Member

Dirbaio commented Nov 6, 2022

oh, the issue was you opened this against the GAT branch. Please open all PRs against master. Rebased it for you at #706

bors bot added a commit that referenced this pull request Nov 6, 2022
706: Fix medium-ip not compiling complaining of needing EthernetAddress r=Dirbaio a=Dirbaio

#703 rebased

cc `@gopakumarce`

Co-authored-by: Gopa Kumar <gopakumarce@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants