Bug 1955298 - uniffi-bindgen-gecko-js: start using the IR pipeline, r=markh,frontend-codestyle-reviewers

Updated the uniffi-bindgen-gecko-js code to use two things I've been
experimenting with:

* Use the IR pipeline code to generate the structs used to render the
  templates.
* A new test fixture for bindings generators.  This one targets bindings
  generators specifically, it doesn't try test the scaffolding code and
  it's not based on real-world example code.  I originally thought it
  would be a single crate, but I ended up needed 2 in order to test
  external types. (https://bugzilla.mozilla.org/show_bug.cgi?id=1948961)

Differential Revision: https://phabricator.services.mozilla.com/D242385
This commit is contained in:
Ben Dean-Kawamura
2025-05-20 14:35:05 +00:00
committed by bdeankawamura@mozilla.com
parent 7d8173b3d0
commit 6e1a647b81
212 changed files with 21241 additions and 37443 deletions

View File

@@ -1251,6 +1251,7 @@ browser/extensions/translations/extension/
# "scaffolding" used by uniffi which isn't valid JS in its original form.
toolkit/components/uniffi-bindgen-gecko-js/src/templates/js/
toolkit/components/uniffi-bindgen-gecko-js/components/generated/*
toolkit/components/uniffi-bindgen-gecko-js/tests/generated/*
##############################################################################
# The list below is copied from ThirdPartyPaths.txt. Prettier doesn't currently