Skip to content

ccextractor does not build with rust 1.54.0 #1765

@loz-hurst

Description

@loz-hurst

Documentation (and build script) says minimum rust version is 1.54 but building with that version (e.g. installing rust via apt on Debian bookworm) fails with this error:

# ./build
Running pre-build script...
Obtaining Git commit
Storing variables in file
Commit: 42d750950a79db328ff8761d0b8acc3cc0f21099
Date: 2025-11-17
Stored all in compile_info_real.h
Done.
Trying to compile...
Checking for cargo...
rustc >= MSRV(1.54.0)
Building rust files...
   Compiling ccx_rust v0.1.0 (/tmp/ccextractor/src/rust)
error[E0658]: use of unstable library feature `unsigned_is_multiple_of`
   --> src/es/pic.rs:253:45
    |
253 |             || dec_ctx.total_pulldownfields.is_multiple_of(2)
    |                                             ^^^^^^^^^^^^^^
    |
    = note: see issue #128101 <https://github.com/rust-lang/rust/issues/128101> for more information

For more information about this error, try `rustc --explain E0658`.
error: could not compile `ccx_rust` (lib) due to 1 previous error
Failed.

I suspect this just needs the minimum version of rust bumping up, following the integration of ebd8252 (merge request: #1753) for compatibility with 1.90.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions