Skip to content

Bug 2055621 - viaduct: only link to sqlite when the ohttp feature is enabled. - #7527

Merged
mhammond merged 1 commit into
mozilla:mainfrom
nicolas-guichard:push-tpnlzlqktxot
Aug 6, 2026
Merged

Bug 2055621 - viaduct: only link to sqlite when the ohttp feature is enabled.#7527
mhammond merged 1 commit into
mozilla:mainfrom
nicolas-guichard:push-tpnlzlqktxot

Conversation

@nicolas-guichard

@nicolas-guichard nicolas-guichard commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Bugzilla URL: https://bugzilla.mozilla.org/show_bug.cgi?id=2055621

Bug 2049856 added a dependency from viaduct to rusqlite, which broke the nimbus-fml toolchain build on the Firefox CI because it doesn't have the x86_64-linux-musl-gcc compiler.

viaduct doesn't actually need to link to sqlite outside the ohttp feature, so properly encode that in its Cargo.toml.

Because nimbus-fml doesn't enable viaduct's ohttp feature, it won't try to link to sqlite anymore.

Try run: https://treeherder.mozilla.org/jobs?repo=try&revision=ad6338a9be84fca240cc2b70b9bf1fbbb60ecda8
This change would break users that depend on viaduct without the ohttp feature and otherwise depend on ohttp with its external-sqlite feature but do not depend on rusqlite by any other means. I believe that's acceptable and doesn't need a changelog entry.

Change suggested by :glandium in https://phabricator.services.mozilla.com/D316132

Pull Request checklist

  • Breaking changes: This PR follows our breaking change policy
    • This PR follows the breaking change policy:
      • This PR has no breaking API changes, or
      • There are corresponding PRs for our consumer applications that resolve the breaking changes and have been approved
  • Quality: This PR builds and tests run cleanly
    • Note:
      • For changes that need extra cross-platform testing, consider adding [ci full] to the PR title.
      • If this pull request includes a breaking change, consider cutting a new release after merging.
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry in CHANGELOG.md or an explanation of why it does not need one
    • Any breaking changes to Swift or Kotlin binding APIs are noted explicitly
  • Dependencies: This PR follows our dependency management guidelines
    • Any new dependencies are accompanied by a summary of the due diligence applied in selecting them.

…enabled.

Bug 2054009 added a dependency from viaduct to rusqlite, which broke
the nimbus-fml toolchain build because it doesn't have the
x86_64-linux-musl-gcc compiler.

viaduct doesn't actually need to link to sqlite outside the ohttp
feature, so properly encode that in its Cargo.toml.

Because nimbus-fml doesn't enable viaduct's ohttp feature, it won't try
to link to sqlite anymore.
@mhammond
mhammond added this pull request to the merge queue Aug 6, 2026
Merged via the queue into mozilla:main with commit 8e5e8ab Aug 6, 2026
15 checks passed
@nicolas-guichard
nicolas-guichard deleted the push-tpnlzlqktxot branch August 6, 2026 18:26
jonesetc pushed a commit to jonesetc/application-services that referenced this pull request Aug 12, 2026
…enabled. (mozilla#7527)

Bug 2054009 added a dependency from viaduct to rusqlite, which broke
the nimbus-fml toolchain build because it doesn't have the
x86_64-linux-musl-gcc compiler.

viaduct doesn't actually need to link to sqlite outside the ohttp
feature, so properly encode that in its Cargo.toml.

Because nimbus-fml doesn't enable viaduct's ohttp feature, it won't try
to link to sqlite anymore.
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