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

Improve default compiler story for wasmer cli #1033

Merged
merged 5 commits into from
Dec 6, 2019

Conversation

MarkMcCaskey
Copy link
Contributor

@MarkMcCaskey MarkMcCaskey commented Dec 2, 2019

This PR needs the following to be ready to ship:

  • Verified make commands are still fine
  • Verified this doesn't do anything bad in CI

This PR adds:

  • compile_error if no backend is specified in wasmer.rs
  • readds clif as the default
  • improves the error message saying "specified backend not found" to include the name of the backend that it couldn't find

@MarkMcCaskey MarkMcCaskey added the 📦 lib-cli About wasmer-cli label Dec 2, 2019
@MarkMcCaskey
Copy link
Contributor Author

bors try

bors bot added a commit that referenced this pull request Dec 2, 2019
This commit reenables the clif compiler as the default for wasmer cli,
updates an error message, and adds a compile_error if no backends are enabled.
@MarkMcCaskey MarkMcCaskey force-pushed the fix/default-compiler-wasmer-cli branch from 390d435 to ab11144 Compare December 2, 2019 23:51
@MarkMcCaskey
Copy link
Contributor Author

bors try-

@MarkMcCaskey
Copy link
Contributor Author

bors try

bors bot added a commit that referenced this pull request Dec 2, 2019
@bors
Copy link
Contributor

bors bot commented Dec 3, 2019

try

Build succeeded

src/bin/wasmer.rs Outdated Show resolved Hide resolved
src/bin/wasmer.rs Outdated Show resolved Hide resolved
@MarkMcCaskey
Copy link
Contributor Author

bors r+

bors bot added a commit that referenced this pull request Dec 6, 2019
1033: Improve default compiler story for wasmer cli r=MarkMcCaskey a=MarkMcCaskey

This PR needs the following to be ready to ship:

- [x] Verified make commands are still fine
- [x] Verified this doesn't do anything bad in CI

This PR adds:
- compile_error if no backend is specified in wasmer.rs
- readds clif as the default
- improves the error message saying "specified backend not found" to include the name of the backend that it couldn't find

Co-authored-by: Mark McCaskey <[email protected]>
Co-authored-by: Mark McCaskey <[email protected]>
@bors
Copy link
Contributor

bors bot commented Dec 6, 2019

Build succeeded

@bors bors bot merged commit 0580a11 into master Dec 6, 2019
@bors bors bot deleted the fix/default-compiler-wasmer-cli branch December 6, 2019 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 lib-cli About wasmer-cli
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants