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

[Merged by Bors] - Make the wasmbind feature of the chrono crate optional #2810

Closed
wants to merge 2 commits into from

Conversation

Razican
Copy link
Member

@Razican Razican commented Apr 11, 2023

This Pull Request fixes/closes #2475.

It changes the following:

  • Do not use the wasmbind feature by default in the chrono crate. This can be enabled selectively if needed.
  • Updated the boa_wasm crate to use this new approach.

I'm interested on knowing if this fixes @lastmjs's issue, and on checking with the team if this is the best approach to solve it.

@Razican Razican added dependencies Pull requests that update a dependency file webassembly Anything related to using Boa with WASM labels Apr 11, 2023
@Razican Razican added this to the v0.17.0 milestone Apr 11, 2023
@Razican Razican changed the title Made the wasmbind feature of the chrono crate optional Make the wasmbind feature of the chrono crate optional Apr 11, 2023
@github-actions
Copy link

Test262 conformance changes

Test result main count PR count difference
Total 94,781 94,781 0
Passed 71,403 71,403 0
Ignored 17,824 17,824 0
Failed 5,554 5,554 0
Panics 0 0 0
Conformance 75.33% 75.33% 0.00%

@codecov
Copy link

codecov bot commented Apr 11, 2023

Codecov Report

Merging #2810 (83666ef) into main (2f580bb) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2810   +/-   ##
=======================================
  Coverage   51.31%   51.31%           
=======================================
  Files         416      416           
  Lines       41213    41213           
=======================================
  Hits        21149    21149           
  Misses      20064    20064           
Impacted Files Coverage Δ
boa_wasm/src/lib.rs 0.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Copy link
Member

@HalidOdat HalidOdat left a comment

Choose a reason for hiding this comment

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

Looks good to me! :)

boa_engine/Cargo.toml Outdated Show resolved Hide resolved
Copy link
Member

@jedel1043 jedel1043 left a comment

Choose a reason for hiding this comment

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

Looks great!

bors r+

bors bot pushed a commit that referenced this pull request Apr 11, 2023
This Pull Request fixes/closes #2475.

It changes the following:

- Do not use the `wasmbind` feature by default in the `chrono` crate. This can be enabled selectively if needed.
- Updated the `boa_wasm` crate to use this new approach.

I'm interested on knowing if this fixes @lastmjs's issue, and on checking with the team if this is the best approach to solve it.
@bors
Copy link

bors bot commented Apr 11, 2023

Pull request successfully merged into main.

Build succeeded:

@bors bors bot changed the title Make the wasmbind feature of the chrono crate optional [Merged by Bors] - Make the wasmbind feature of the chrono crate optional Apr 11, 2023
@bors bors bot closed this Apr 11, 2023
@bors bors bot deleted the fix_wasm branch April 11, 2023 23:21
@lastmjs
Copy link
Contributor

lastmjs commented Apr 14, 2023

This worked! Much appreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file webassembly Anything related to using Boa with WASM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New version of chrono breaks wasm32-unknown-unknown
4 participants