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

Fixed compilation without "wasm-bindgen" feature #236

Merged
merged 4 commits into from
Feb 2, 2020
Merged

Fixed compilation without "wasm-bindgen" feature #236

merged 4 commits into from
Feb 2, 2020

Conversation

adumbidiot
Copy link
Contributor

Fixes #234. I put the wasm-related stuff in its own module. I also conditionally re-exported the contents of this module, as the evaluate function is public and I was unsure if making it private would break semver.

@adumbidiot
Copy link
Contributor Author

The CI error seems unrelated?

@Razican
Copy link
Member

Razican commented Feb 1, 2020

CI error is due to the update in clippy for Rust 1.41, that now requires an Errors section in the documentation of functions returning a Result<_, _> with pedantic lints.

@jasonwilliams
Copy link
Member

@Razican eugh, i thought we switched "pedantic" errors off, that lint looks like it falls under the "pedantic" group.

maybe the wasm file needs to copy https://github.com/jasonwilliams/boa/blob/master/src/lib/lib.rs#L2-L4

@jasonwilliams
Copy link
Member

could you rebase @adumbidiot ? ive merged some clippy fixes

@adumbidiot
Copy link
Contributor Author

@jasonwilliams done

Copy link
Member

@jasonwilliams jasonwilliams left a comment

Choose a reason for hiding this comment

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

will test later but looks fine,
thanks

@jasonwilliams jasonwilliams merged commit 6947122 into boa-dev:master Feb 2, 2020
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.

Unable to compile without "wasm-bindgen" feature
3 participants