Skip to content

Move code generation and webidl files to new script_bindings crate#35157

Merged
jdm merged 1 commit intoservo:mainfrom
jdm:bindings-crate
Jan 24, 2025
Merged

Move code generation and webidl files to new script_bindings crate#35157
jdm merged 1 commit intoservo:mainfrom
jdm:bindings-crate

Conversation

@jdm
Copy link
Copy Markdown
Member

@jdm jdm commented Jan 24, 2025

This change is focused on moving files into their eventual destinations while making as few changes to them as possible. While the bindings code is now generated while building a new script_bindings crate, all of the generated bindings are still included in the build of the script crate. This enables us to incrementally push some parts of the build from script to script_bindings in the future while minimizing the overall diff when that happens.


@jdm jdm requested a review from gterzian as a code owner January 24, 2025 06:08
@jdm jdm force-pushed the bindings-crate branch 2 times, most recently from f25a232 to 9a01901 Compare January 24, 2025 06:09
@sagudev
Copy link
Copy Markdown
Member

sagudev commented Jan 24, 2025

We will need to change tidy to start looking at new dir for webidl files...

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In later steps we will be able to remove this altogether.

@jdm
Copy link
Copy Markdown
Member Author

jdm commented Jan 24, 2025

We will need to change tidy to start looking at new dir for webidl files...

Fixed.

@jdm jdm added this pull request to the merge queue Jan 24, 2025
Merged via the queue into servo:main with commit af8d7c2 Jan 24, 2025
@jdm jdm deleted the bindings-crate branch January 24, 2025 21:21
github-merge-queue bot pushed a commit that referenced this pull request Jan 3, 2026
…_bindings` `build.rs` (#41649)

Just fixed a discrepancy in comments I noticed, the files were moved
around in #35157

Signed-off-by: Leo Ring <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants