Skip to content

fix: restore ppc64le compatibility by updating SQLx - #690

Draft
Nameless-Monster-Nerd wants to merge 1 commit into
rustdesk:masterfrom
Nameless-Monster-Nerd:codex/fix-ppc64le-ring-dependency
Draft

fix: restore ppc64le compatibility by updating SQLx#690
Nameless-Monster-Nerd wants to merge 1 commit into
rustdesk:masterfrom
Nameless-Monster-Nerd:codex/fix-ppc64le-ring-dependency

Conversation

@Nameless-Monster-Nerd

Copy link
Copy Markdown

Fixes #686

Summary

  • update SQLx from 0.6 to 0.8.6 and use its SQLite-only, TLS-free runtime features
  • remove the unused jsonwebtoken dependency that also pulled in ring 0.16
  • adapt the SQLite connection options call to SQLx 0.8
  • pin the active signature 1.x dependency required by the existing ed25519/sodiumoxide stack

The active dependency graph no longer contains ring 0.16, which is the version that fails on ppc64le.

Validation

  • cargo check --locked
  • cargo test --locked --no-run
  • rustfmt --edition 2021 --check src/database.rs
  • cargo tree --locked -i ring@0.16.20 (no dependency found)

The repository-wide cargo fmt --check still reports formatting drift in pre-existing unrelated files, including the pinned submodule.

AI assistance was used to analyze the dependency graph and prepare this patch; I reviewed the changes and validation results.

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: ff6f4148-bfae-46b1-af91-306e8bc76792

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

rustdesk-server does not build for ppc64le architecture

1 participant