Skip to content

Commit 5af90d1

Browse files
committed
Bug 1794001 - Part 5: remove the regex-ffi crate, r=xpcom-reviewers,kmag
It is no longer necessary now that `rure` bindings are in use. Differential Revision: https://phabricator.services.mozilla.com/D158876
1 parent a002d27 commit 5af90d1

File tree

7 files changed

+0
-85
lines changed

7 files changed

+0
-85
lines changed

Cargo.lock

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

toolkit/components/moz.build

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -136,15 +136,5 @@ if CONFIG["MOZ_BACKGROUNDTASKS"]:
136136
if CONFIG["MOZ_BUILD_APP"] == "browser":
137137
DIRS += ["corroborator"]
138138

139-
if CONFIG["COMPILE_ENVIRONMENT"]:
140-
CbindgenHeader(
141-
"regex_ffi_generated.h",
142-
inputs=["/toolkit/components/regex-ffi"],
143-
)
144-
145-
EXPORTS.mozilla += [
146-
"!regex_ffi_generated.h",
147-
]
148-
149139
if CONFIG["MOZ_UNIFFI_FIXTURES"]:
150140
DIRS += ["uniffi-bindgen-gecko-js/fixtures"]

toolkit/components/regex-ffi/Cargo.toml

Lines changed: 0 additions & 10 deletions
This file was deleted.

toolkit/components/regex-ffi/cbindgen.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

toolkit/components/regex-ffi/src/lib.rs

Lines changed: 0 additions & 42 deletions
This file was deleted.

toolkit/library/rust/shared/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ unic-langid = { version = "0.9", features = ["likelysubtags"] }
6666
unic-langid-ffi = { path = "../../../../intl/locale/rust/unic-langid-ffi" }
6767
fluent-langneg = { version = "0.13", features = ["cldr"] }
6868
fluent-langneg-ffi = { path = "../../../../intl/locale/rust/fluent-langneg-ffi" }
69-
regex-ffi = { path = "../../../components/regex-ffi" }
7069
rure = "0.2.2"
7170
rust_minidump_writer_linux = { path = "../../../crashreporter/rust_minidump_writer_linux", optional = true }
7271
gecko-profiler = { path = "../../../../tools/profiler/rust-api"}

toolkit/library/rust/shared/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ extern crate fluent_langneg_ffi;
7373
extern crate fluent;
7474
extern crate fluent_ffi;
7575

76-
extern crate regex_ffi;
7776
extern crate rure;
7877

7978
extern crate fluent_fallback;

0 commit comments

Comments
 (0)