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

fix: wasm build failure due to a missing use statement #313

Merged
merged 2 commits into from
Mar 17, 2025

Conversation

FarmingtonS9
Copy link
Contributor

@FarmingtonS9 FarmingtonS9 commented Mar 17, 2025

Fix to #312 (comment)

  • Added File to use statement.

Found additional error (E0599) at line 463.

  • Added ? operator after output. (use the ? operator to extract Filevalue, propagating aResult::Err value to caller)

Replicated user's original test. Tested with Rust 1.85.0 on Windows 10 22H2 19045.5608. cargo check --target wasm32-unknown-unknown --no-default-features.
Besides some clippy messages, no other errors show up.

Verified

This commit was signed with the committer’s verified signature. The key has expired.
yinzara Matthew Vance
Fix to zip-rs#312 (comment)
- Added `File` to use statement.
Found additional error (E0599) at line 463.
- Added `?` operator. (`use the ? operator to extract `File` value, propagating a `Result::Err` value to caller`)
Pr0methean
Pr0methean previously approved these changes Mar 17, 2025
@Pr0methean Pr0methean enabled auto-merge March 17, 2025 12:43
@Pr0methean Pr0methean changed the title Missing File struct in read.rs. Fix for Issue 312 fix: wasm build failure due to a missing use statement Mar 17, 2025

Verified

This commit was signed with the committer’s verified signature. The key has expired.
yinzara Matthew Vance
Signed-off-by: Chris Hennick <4961925+Pr0methean@users.noreply.github.com>
@Pr0methean Pr0methean added this pull request to the merge queue Mar 17, 2025
Merged via the queue into zip-rs:master with commit 695b961 Mar 17, 2025
39 checks passed
@Pr0methean Pr0methean mentioned this pull request Mar 17, 2025
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.

None yet

2 participants