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

Relax Windows 'static TX/RX lifetime, fix some unwraps #183

Merged
merged 3 commits into from
Mar 12, 2024

Conversation

jamwaffles
Copy link
Collaborator

@jamwaffles jamwaffles commented Mar 12, 2024

This will merge into master, which is the upcoming 0.4 release.

A future PR will backport this to 0.3.x.

@jamwaffles
Copy link
Collaborator Author

Tested with

$env:RUST_LOG='info'; cargo run --release --example ek1100 '\Device\NPF_{5B67A9B1-06E7-48F6-B81C-9112ECF37235}'

Test hardware is EK1100, EL2889, EL2828. The static DC sync is still slow as molasses as it has always been on Windows, but everything works as well as it did in master, so I'm calling this good from my side.

Would be great if @Dirreke could confirm this branch is working on their side before I merge :)

@Dirreke
Copy link
Contributor

Dirreke commented Mar 12, 2024

Thanks, I will test it later.

@Dirreke
Copy link
Contributor

Dirreke commented Mar 12, 2024

It's OK to me.

@jamwaffles jamwaffles merged commit 3f5f05b into master Mar 12, 2024
8 checks passed
@jamwaffles jamwaffles deleted the non-static-windows branch March 12, 2024 14:10
@jamwaffles
Copy link
Collaborator Author

Great, thanks for testing!

jamwaffles added a commit that referenced this pull request Mar 12, 2024
* Relax Windows `'static` TX/RX lifetime

* Improve error handling for Windows TX/RX loop

NOTE: This commit has been changed from the original PR a bit to make it
work with 0.3.x.
jamwaffles added a commit that referenced this pull request Mar 12, 2024
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