File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -278,7 +278,8 @@ def print_rust_environment():
278278def 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"
Original file line number Diff line number Diff line change @@ -24,7 +24,11 @@ autofill = { path = "../../components/autofill" }
2424crashtest = { path = " ../../components/crashtest" }
2525error-support = { path = " ../../components/support/error" }
2626suggest = { 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
3034lazy_static = " 1.4"
Original file line number Diff line number Diff line change @@ -28,5 +28,5 @@ error-support = { path = "../../components/support/error" }
2828sync_manager = { path = " ../../components/sync_manager" }
2929as-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 " ] }
You can’t perform that action at this time.
0 commit comments