diff options
author | Josh Matthews <josh@joshmatthews.net> | 2024-12-06 02:34:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-06 07:34:24 +0000 |
commit | 3515b83a95cb65da30c1e3988f7a47f79fd7b9bd (patch) | |
tree | 861d73bb4464f88bfe124460a81f9e4b231b346f /mach.bat | |
parent | faefed9869d3e2718cb33fa7e0e1f6443f81c814 (diff) | |
download | servo-3515b83a95cb65da30c1e3988f7a47f79fd7b9bd.tar.gz servo-3515b83a95cb65da30c1e3988f7a47f79fd7b9bd.zip |
Create two-phase initialization for generated JS engine bindings (#34366)
* script: Generate a runtime initialization for static JS binding information.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Replace dummy static initializers with OnceLock.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Fix clippy warnings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Only initialize statics for DOM interfaces with interface objects.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Remove one unnecessary Box::leak usage.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* Tidy.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Hide thread-unsafe OnceLock usage inside of a wrapper type.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Mark ThreadUnsafeOnceLock::get unsafe.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
* script: Simplify ThreadUnsafeOnceLock internals.
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Diffstat (limited to 'mach.bat')
0 files changed, 0 insertions, 0 deletions