Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use SpiderMonkey's encoding_c instead of our own crate #55

Merged
merged 2 commits into from
May 29, 2024

Conversation

tschneidereit
Copy link
Member

SpiderMonkey uses the encoding_c Rust crate and comes bundled with it. This lead to either duplication or linking errors when using our own crate re-exporting encoding_c.

Instead, with this PR we just bundle a C header file for interacting with the crate's functionality, and rely on SpiderMonkey's version.

Fixes #50

SpiderMonkey uses the `encoding_c` Rust crate and comes bundled with it. This lead to either duplication or linking errors when using our own crate re-exporting `encoding_c`.

Instead, with this PR we just bundle a C header file for interacting with the crate's functionality, and rely on SpiderMonkey's version.
@lpereira
Copy link
Contributor

LGTM

Copy link
Contributor

@guybedford guybedford left a comment

Choose a reason for hiding this comment

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

Can confirm this resolves #50, thank you.

@tschneidereit tschneidereit merged commit aa9ff14 into main May 29, 2024
1 check passed
@tschneidereit tschneidereit deleted the use-spidermonkey-encoding_c branch May 29, 2024 19:03
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.

Release build is broken
3 participants