-
-
Notifications
You must be signed in to change notification settings - Fork 23
Move gz API to libz-rs-sys-cdylib #365
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
Conversation
This currently can compile the gz features with |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 6 files with indirect coverage changes 🚀 New features to boost your workflow:
|
With the change I just pushed, the basic build and tests work. If this approach looks safe, I'll troubleshoot the remaining issues with Clippy and fuzz tests. |
let's explore this. I think one of the CI issues is that the cdylib crate should check in its @bjorn3 do you have objections to this approach? |
The cdylib's Some of the other CI failures happen because both |
It does work for |
I got the |
4ae1d9f
to
2000318
Compare
c841631
to
e18efac
Compare
libz-rs-sys-cdylib/src/lib.rs
Outdated
// #[cfg(not(panic = "abort"))] | ||
// compile_error!("panic=\"abort\" is mandatory because unwinding to C is undefined behavior"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does #[cfg(not(any(test, panic = "abort"))]
work?
Edit: No, I don't think so because of test-libz-rs-sys. I don't like that this has to be disabled though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, we can add a feature flag for it?
fd5d6aa
to
57da06b
Compare
on windows, there are restrictions on using '.' in symbol names
one final change; on windows, our |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for the work here @brian-pane
322e8e1
into
trifectatechfoundation:main
No description provided.