Skip to content

Commit 17437dd

Browse files
committed
megazords
1 parent d20a2ca commit 17437dd

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

automation/tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,8 @@ def print_rust_environment():
278278
def calc_rust_env(package, features):
279279
if features == RustFeatures.ALL:
280280
# Anything needing special support for sqlite might fail to link it.
281-
# `--all-features` in CI hits this - it shouldn't be this way!
281+
# `--all-features` in CI (notably nss-sys via rc_crypto) hits this.
282+
# This shouldn't be this way!
282283
return {
283284
**os.environ,
284285
'RUSTFLAGS' : "--cfg __appsvc_ci_sqlite_hack"

megazords/full/Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ autofill = { path = "../../components/autofill" }
2424
crashtest = { path = "../../components/crashtest" }
2525
error-support = { path = "../../components/support/error" }
2626
suggest = { path = "../../components/suggest" }
27-
# Force the "bundled" feature????
28-
rusqlite = { version = "0.29.0" }
27+
28+
# This is a bit of a mess. It appears we get rusqlite=bundled as a side-effect of
29+
# none of the rc_crypto consumers *not* using the `gecko` feature in that crate.
30+
# If we wanted to *avoid* the bundled sqlite here we'd need to use the `in_gecko` feature of rusqlite.
31+
# In an ideal world, it seems we should be required to use `features=["bundled]` for rusqlite here.
32+
# (But for now we want to ship our sqlite for Android, so don't need to do anything here currently)
2933

3034
lazy_static = "1.4"

megazords/ios-rust/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ error-support = { path = "../../components/support/error" }
2828
sync_manager = { path = "../../components/sync_manager" }
2929
as-ohttp-client = { path = "../../components/as-ohttp-client" }
3030

31-
# Force the "bundled" feature????
32-
rusqlite = { version = "0.29.0" }
31+
# For iOS we *do not* want to ship sqlite.
32+
rusqlite = { version = "0.29.0", features=["in_gecko"] }

0 commit comments

Comments
 (0)