Skip to content

Conversation

@rina23q
Copy link
Member

@rina23q rina23q commented Dec 18, 2025

Proposed changes

Instead of enabling the bindgen feature of rquickjs (#3892 & #3896), we can keep pre-generated bindings in our rquickjs fork.
The advantage of this approach is, we can avoid making additional dependencies on build tools.

The changes on our fork are bar minimal:

  1. Update scripts/gen-bindings.sh to add our targets
  2. Then, just add and committed the generated bindings.

Check the diff:

Since the latest release of rquickjs is now 0.10, the new revision is also based on 0.10.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (general improvements like code refactoring that doesn't explicitly fix a bug or add any new functionality)
  • Documentation Update (if none of the other choices apply)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Paste Link to the issue


Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA (in all commits with git commit -s. You can activate automatic signing by running just prepare-dev once)
  • I ran just format as mentioned in CODING_GUIDELINES
  • I used just check as mentioned in CODING_GUIDELINES
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

Signed-off-by: Rina Fujino <rina.fujino.23@gmail.com>
@codecov
Copy link

codecov bot commented Dec 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

rquickjs = { git = "https://github.com/thin-edge/rquickjs", rev = "4ed04ac9af3de453dd41ff09fdd1837c7ceb1f1c", default-features = false, features = [
# disable bindgen and rely on pre-generated bindings due to problems
# generating the bindings at build time with clang
rquickjs = { git = "https://github.com/thin-edge/rquickjs", rev = "7508f0c3c134352f8cd64a4c33cc0c063f3e2ab0", default-features = false, features = [
Copy link
Member Author

Choose a reason for hiding this comment

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

Instead of revision, we can specify branch name. Maybe it's easier for Yocto eventually, as it needs to patch to this Cargo.toml file to enable the bindgen feature like this.

Suggested change
rquickjs = { git = "https://github.com/thin-edge/rquickjs", rev = "7508f0c3c134352f8cd64a4c33cc0c063f3e2ab0", default-features = false, features = [
rquickjs = { git = "https://github.com/thin-edge/rquickjs", branch = "extend-bindings2", default-features = false, features = [

@github-actions
Copy link
Contributor

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass % ⏱️ Duration
752 0 4 752 100 2h32m54.072956999s

Signed-off-by: Rina Fujino <rina.fujino.23@gmail.com>
@rina23q rina23q force-pushed the build/update-rquickjs-dependency branch from 28c6025 to a9b2832 Compare December 19, 2025 14:16
@rina23q
Copy link
Member Author

rina23q commented Jan 6, 2026

We chose the approach in #3896

@rina23q rina23q closed this Jan 6, 2026
@rina23q rina23q deleted the build/update-rquickjs-dependency branch January 6, 2026 11:13
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.

1 participant