Skip to content

fix(rust-workflows): use -W clippy::pedantic as per PR feedback#9

Open
cwtchan wants to merge 45 commits intopac-work:rust-bindingsfrom
cwtchan:fix/clippy-pedantic
Open

fix(rust-workflows): use -W clippy::pedantic as per PR feedback#9
cwtchan wants to merge 45 commits intopac-work:rust-bindingsfrom
cwtchan:fix/clippy-pedantic

Conversation

@cwtchan
Copy link

@cwtchan cwtchan commented Sep 25, 2025

No description provided.

pac-work and others added 30 commits August 22, 2025 12:12
- The crate is supposed to serve as lower level bindings which higher
  level abstractions can be built upon.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
- This layer is supposed to more or less reflect the structure of the
  MXL library itself and should not yet use async.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pedro Ferreira <pedro@bisect.pt>
Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
- Our unsafe code was way too unsafe :)

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
- Need to free up the name GrainWriter for future chages - there will be
  a GrainWriter and a SamplesWriter, analogically to how MXL
  distinguishes access to "discrete" and "continuous" flows.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
- Added grain writer and a skeleton for samples writer.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
- Added grain reader and a skeleton for samples reader.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
- Currently MXL library generates a header file with it's version during
  the build process. This header file is not strictly needed for the
  Rust bindings at the moment, as it contains just constants
  representing the library version.
- Adding a feature flag, which allows skipping this file and thus
  referencing MXL Rust bindings from other projects just directly from
  GitHub, without the need to locally build the MXL repo or even "worse"
  building the MXL repo fully together with bindings.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
pac-work and others added 15 commits August 22, 2025 12:12
- This is useful when one wants to construct different readers and
  writers from different threads.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
- Will simplify use of those in async contexts, especially as long as we
  do not have proper async interface.

Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
Signed-off-by: Chris Chan <chris.chan@techex.co.uk>
Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
Signed-off-by: Pavel Cernohorsky <pavel.cernohorsky@appear.net>
Signed-off-by: Chris Chan <chris.chan@techex.co.uk>
Signed-off-by: Chris Chan <chris.chan@techex.co.uk>
Signed-off-by: Chris Chan <chris.chan@techex.co.uk>
Signed-off-by: Chris Chan <chris.chan@techex.co.uk>
Signed-off-by: Chris Chan <chris.chan@techex.co.uk>
Signed-off-by: Chris Chan <chris.chan@techex.co.uk>
Signed-off-by: Chris Chan <chris.chan@techex.co.uk>
Signed-off-by: Chris Chan <chris.chan@techex.co.uk>
Signed-off-by: Chris Chan <chris.chan@techex.co.uk>
Signed-off-by: Chris Chan <chris.chan@techex.co.uk>
@pac-work
Copy link
Owner

As mentioned in the "official merge PR" - would it be possible to make Clippy use this also when normally executed as cargo clippy so that pipelines do not give stricter results than one expects?

@pac-work pac-work force-pushed the rust-bindings branch 5 times, most recently from 924a6cf to 4030cd2 Compare October 16, 2025 13:31
@pac-work pac-work force-pushed the rust-bindings branch 2 times, most recently from 957bad1 to 0daf7e1 Compare October 20, 2025 14:08
@pac-work pac-work force-pushed the rust-bindings branch 2 times, most recently from 97fd9c1 to c56f54b Compare October 31, 2025 13: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.

3 participants