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

add wasm build option for filewriter flags[skip changelog] #411

Merged
merged 3 commits into from
Aug 18, 2023

Conversation

mar1n3r0
Copy link
Contributor

No description provided.

@mar1n3r0 mar1n3r0 requested a review from a team as a code owner July 17, 2023 08:49
@welcome
Copy link

welcome bot commented Jul 17, 2023

Thank you for submitting this PR!
A maintainer will be here shortly to review it.
We are super grateful, but we are also overloaded! Help us by making sure that:

  • The context for this PR is clear, with relevant discussion, decisions
    and stakeholders linked/mentioned.

  • Your contribution itself is clear (code comments, self-review for the
    rest) and in its best form. Follow the code contribution
    guidelines

    if they apply.

Getting other community members to do a review would be great help too on complex PRs (you can ask in the chats/forums). If you are unsure about something, just leave us a comment.
Next steps:

  • A maintainer will triage and assign priority to this PR, commenting on
    any missing things and potentially assigning a reviewer for high
    priority items.

  • The PR gets reviews, discussed and approvals as needed.

  • The PR is merged by maintainers when it has been approved and comments addressed.

We currently aim to provide initial feedback/triaging within two business days. Please keep an eye on any labelling actions, as these will indicate priorities and status of your contribution.
We are very grateful for your contribution!

Copy link
Contributor

@Jorropo Jorropo left a comment

Choose a reason for hiding this comment

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

This looks wrong to me, right now it is a list of compatible GOOSes but you are adding a GOARCH.

If windows added support for running WASM binaries this would be incorrect.

What do you think of:

//go:build darwin || linux || netbsd || openbsd || freebsd || dragonfly || js || wasip1

?

@mar1n3r0
Copy link
Contributor Author

Yep, totally makes sense.

Copy link
Contributor

@Jorropo Jorropo left a comment

Choose a reason for hiding this comment

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

LGTM thx

files/filewriter_unix.go Outdated Show resolved Hide resolved
files/filewriter_unix_test.go Outdated Show resolved Hide resolved
@Jorropo
Copy link
Contributor

Jorropo commented Aug 17, 2023

I can't apply the suggestions, could you do it please ?

@mar1n3r0
Copy link
Contributor Author

I can't apply the suggestions, could you do it please ?

All set.

@mar1n3r0
Copy link
Contributor Author

mar1n3r0 commented Aug 18, 2023 via email

@Jorropo Jorropo enabled auto-merge (squash) August 18, 2023 11:39
@codecov
Copy link

codecov bot commented Aug 18, 2023

Codecov Report

Merging #411 (a051a02) into main (cfad09d) will decrease coverage by 0.18%.
Report is 18 commits behind head on main.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #411      +/-   ##
==========================================
- Coverage   49.61%   49.44%   -0.18%     
==========================================
  Files         248      246       -2     
  Lines       29838    29946     +108     
==========================================
+ Hits        14805    14806       +1     
- Misses      13615    13703      +88     
- Partials     1418     1437      +19     
Files Changed Coverage Δ
files/filewriter_unix.go 100.00% <ø> (ø)

... and 28 files with indirect coverage changes

@Jorropo Jorropo disabled auto-merge August 18, 2023 15:56
@Jorropo Jorropo merged commit aa73ad5 into ipfs:main Aug 18, 2023
11 checks passed
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

3 participants