Skip to content

Allow opting out of using sqlite-wasm-rs on wasm32-unknown-unknown#1829

Merged
gwenn merged 1 commit into
rusqlite:masterfrom
ipetkov:push-wnyxmrqyzrvv
Apr 16, 2026
Merged

Allow opting out of using sqlite-wasm-rs on wasm32-unknown-unknown#1829
gwenn merged 1 commit into
rusqlite:masterfrom
ipetkov:push-wnyxmrqyzrvv

Conversation

@ipetkov

@ipetkov ipetkov commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

This is an attempt to address #1828 by leaning into cargo feature flags and target dependencies.

Note: this will technically be a breaking change for anyone building for wasm32-unknown-unknown with rusqlite = { default-features = false } as they will now need to opt into rusqlite/ffi-sqlite-wasm-rs. Though this seemed like a better tradeoff than making ffi-sqlite-wasm-rs a non-default feature and requiring everyone who currently builds for wasm32-unknown-unknown to then have to enable rusqlite/ffi-sqlite-wasm-rs.

Please let me know if you'd prefer I take a different direction!

@codecov

codecov Bot commented Apr 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.54%. Comparing base (68e64b4) to head (724225d).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1829   +/-   ##
=======================================
  Coverage   87.54%   87.54%           
=======================================
  Files          58       58           
  Lines       10824    10824           
=======================================
  Hits         9476     9476           
  Misses       1348     1348           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gwenn gwenn merged commit 874e76a into rusqlite:master Apr 16, 2026
17 checks passed
@ipetkov ipetkov deleted the push-wnyxmrqyzrvv branch April 16, 2026 16:12
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