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 invoking wasmer binfmt register from $PATH #2746

Merged
merged 2 commits into from
Jan 7, 2022
Merged

Conversation

jcaesar
Copy link
Contributor

@jcaesar jcaesar commented Jan 7, 2022

Description

Currently, invoking wasmer binfmt register from $PATH fails.

$ wasmer binfmt register 
error: Cannot get path to wasmer executable

(Currently, only invoking it by absolute path ($(which wasmer) binfmt register, e.g. as would be from a systemd unit) works.)

I also added a commit that changes some bit twiddling with file modes to a nicer semantic check, but it does add a dependency. Please tell me if you don't want that.

Review

  • Add a short description of the change to the CHANGELOG.md file - Not necessary?

@jcaesar jcaesar requested a review from syrusakbary as a code owner January 7, 2022 12:42
@syrusakbary
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Jan 7, 2022

@bors bors bot merged commit 59183dd into wasmerio:master Jan 7, 2022
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.

2 participants