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

Allow dead code for code that is newly detected as unused #3984

Merged
merged 4 commits into from
Sep 7, 2024

Conversation

hansl
Copy link
Contributor

@hansl hansl commented Sep 5, 2024

It is unclear if it is actually unused (ConstructorNoProto seems like it is fully unused, but not Constructor). Trying to create an MRE for a rust-lang issue, but couldn't reproduce outside of this repro.

This at least temporarily to unblock CI.

Closes #3985.

Copy link

codecov bot commented Sep 5, 2024

Codecov Report

Attention: Patch coverage is 0% with 29 lines in your changes missing coverage. Please review.

Project coverage is 51.32%. Comparing base (6ddc2b4) to head (2f20822).
Report is 248 commits behind head on main.

Files with missing lines Patch % Lines
core/engine/src/builtins/atomics/futex.rs 0.00% 29 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3984      +/-   ##
==========================================
+ Coverage   47.24%   51.32%   +4.08%     
==========================================
  Files         476      468       -8     
  Lines       46892    45212    -1680     
==========================================
+ Hits        22154    23205    +1051     
+ Misses      24738    22007    -2731     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hansl
Copy link
Contributor Author

hansl commented Sep 6, 2024

Added #3985 to see if CI is unstuck.

@jedel1043 jedel1043 requested a review from a team September 6, 2024 17:44
@jedel1043 jedel1043 added the bug Something isn't working label Sep 6, 2024
@jedel1043 jedel1043 modified the milestones: next-release, v0.19.0 Sep 6, 2024
@jedel1043 jedel1043 added this pull request to the merge queue Sep 7, 2024
Merged via the queue into boa-dev:main with commit b08610a Sep 7, 2024
14 checks passed
jedel1043 added a commit that referenced this pull request Sep 8, 2024
* Allow dead code for code that is newly detected as unused

* Fix compile errors with nightly rust

* Add missing SAFETY section

* Increase safety of `FutexWaiters`

---------

Co-authored-by: Theo Paris <[email protected]>
Co-authored-by: José Julián Espina <[email protected]>
jedel1043 added a commit that referenced this pull request Sep 8, 2024
* Allow dead code for code that is newly detected as unused

* Fix compile errors with nightly rust

* Add missing SAFETY section

* Increase safety of `FutexWaiters`

---------

Co-authored-by: Theo Paris <[email protected]>
Co-authored-by: José Julián Espina <[email protected]>
jedel1043 added a commit that referenced this pull request Sep 8, 2024
* Allow dead code for code that is newly detected as unused

* Fix compile errors with nightly rust

* Add missing SAFETY section

* Increase safety of `FutexWaiters`

---------

Co-authored-by: Theo Paris <[email protected]>
Co-authored-by: José Julián Espina <[email protected]>
jedel1043 added a commit that referenced this pull request Sep 11, 2024
* Allow dead code for code that is newly detected as unused

* Fix compile errors with nightly rust

* Add missing SAFETY section

* Increase safety of `FutexWaiters`

---------

Co-authored-by: Theo Paris <[email protected]>
Co-authored-by: José Julián Espina <[email protected]>
raskad pushed a commit that referenced this pull request Sep 11, 2024
* Implement new spec changes for `AsyncGenerator` (#3950)

* Implement new spec changes for `AsyncGenerator`

* Add panic docs

* Add spec edition 15 to the tester (#3957)

* Allow dead code for code that is newly detected as unused (#3984)

* Allow dead code for code that is newly detected as unused

* Fix compile errors with nightly rust

* Add missing SAFETY section

* Increase safety of `FutexWaiters`

---------

Co-authored-by: Theo Paris <[email protected]>
Co-authored-by: José Julián Espina <[email protected]>

* Enable CI for release branches (#3987)

* Allow warnings when running CI on release branches (#3990)

* Bump crates version

---------

Co-authored-by: Hans Larsen <[email protected]>
Co-authored-by: Theo Paris <[email protected]>
hansl added a commit to hansl/boa that referenced this pull request Sep 12, 2024
* Allow dead code for code that is newly detected as unused

* Fix compile errors with nightly rust

* Add missing SAFETY section

* Increase safety of `FutexWaiters`

---------

Co-authored-by: Theo Paris <[email protected]>
Co-authored-by: José Julián Espina <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants