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

feat(core): 🎸 compile wasm #543

Merged
merged 2 commits into from
Apr 6, 2024
Merged

feat(core): 🎸 compile wasm #543

merged 2 commits into from
Apr 6, 2024

Conversation

wjian23
Copy link
Contributor

@wjian23 wjian23 commented Mar 14, 2024

Purpose of this Pull Request

compile wasm, relative to #542

Checklist Before Merging

Please ensure the following are completed before merging:

  • If this is linked to an issue, include the link in your description.
  • If you've made changes to the code or documentation, make sure these are updated in the CHANGELOG.md file.
  • If you've introduced any break changes, briefly describe them in the Breaking section of the CHANGELOG.md file.

Additional Information

If you're unsure about which branch to submit your Pull Request to, or when it will be released after being merged, please refer to our Release Guide.

If you're working on a widget and need help writing test cases, we have some macros that can assist you. Please refer to the Ribir Dev Helper documentation.

Copy link

codecov bot commented Mar 14, 2024

Codecov Report

Attention: Patch coverage is 27.16763% with 126 lines in your changes are missing coverage. Please review.

Project coverage is 85.19%. Comparing base (eed8e84) to head (321df76).

Files Patch % Lines
ribir/src/app.rs 11.38% 109 Missing ⚠️
ribir/src/winit_shell_wnd.rs 0.00% 10 Missing ⚠️
ribir/src/backends/wgpu_backend.rs 0.00% 4 Missing ⚠️
gpu/src/wgpu_impl/draw_texture_pass.rs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #543      +/-   ##
==========================================
- Coverage   85.27%   85.19%   -0.09%     
==========================================
  Files         179      179              
  Lines       25337    25378      +41     
==========================================
+ Hits        21607    21621      +14     
- Misses       3730     3757      +27     

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

@wjian23 wjian23 force-pushed the feat/wasm branch 3 times, most recently from d69ac35 to fdaa5f0 Compare March 18, 2024 07:25
@M-Adoo M-Adoo added this to the 0.3 milestone Mar 19, 2024
tests/Cargo.toml Outdated
@@ -18,6 +18,7 @@ paste.workspace = true
ribir = {path = "../ribir", features = ["material", "widgets"]}
ribir_dev_helper = {path = "../dev-helper"}
ribir_geom = {path = "../geom"}
ribir_core = {path = "../core"}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Unnecessary import

@wjian23 wjian23 force-pushed the feat/wasm branch 2 times, most recently from d3093ce to 69428ea Compare April 1, 2024 04:55
@@ -59,4 +59,18 @@ jobs:
{
echo ./README.md
find "./docs" -name "*.md"
} | xargs -I {} rustdoc --test {} -L target/debug/deps/ --edition 2018 --extern ribir=target/debug/libribir.rlib
} | xargs -I {} rustdoc -Z unstable-options --test --no-run {} -L target/debug/deps/ --edition 2018 --extern ribir=target/debug/libribir.rlib
Copy link
Collaborator

Choose a reason for hiding this comment

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

should keep not use unstable-options to test docs

ribir/src/winit_shell_wnd.rs Outdated Show resolved Hide resolved
@wjian23 wjian23 force-pushed the feat/wasm branch 2 times, most recently from 9825af7 to 45760c9 Compare April 3, 2024 06:11
@wjian23 wjian23 changed the title feat(core): 🎸 wasm(draft) feat(core): 🎸 compile wasm Apr 3, 2024
@M-Adoo M-Adoo added the B-test Notify bot to start testing label Apr 4, 2024
@M-Adoo M-Adoo removed the B-test Notify bot to start testing label Apr 4, 2024
@M-Adoo M-Adoo added the B-test Notify bot to start testing label Apr 4, 2024
@M-Adoo M-Adoo enabled auto-merge April 4, 2024 06:07
@M-Adoo M-Adoo added this pull request to the merge queue Apr 6, 2024
Merged via the queue into master with commit 0bbf7d2 Apr 6, 2024
6 of 8 checks passed
@M-Adoo M-Adoo deleted the feat/wasm branch April 6, 2024 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-test Notify bot to start testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants