-
Notifications
You must be signed in to change notification settings - Fork 824
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
Refactored bin commands into separate files #1357
Conversation
src/commands/run.rs
Outdated
use std::path::PathBuf; | ||
use std::process::exit; | ||
use std::str::FromStr; | ||
use wasmer_runtime::compile_with_config_with; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move this down with rest of wasmer_runtime
?
bors r+ |
1357: Refactored bin commands into separate files r=syrusakbary a=syrusakbary <!-- Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test: https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests --> # Description Refactored bin commands into separate files. This PR does not do any sustancial changes other than refactoring into different files for better readability. <!-- Provide details regarding the change including motivation, links to related issues, and the context of the PR. --> # Review - [x] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: Syrus <[email protected]> Co-authored-by: Syrus Akbary <[email protected]>
src/utils.rs
Outdated
let mut file = File::open(path)?; | ||
file.read_to_end(&mut buffer)?; | ||
// We force to close the file | ||
drop(file); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't do anything, we can remove it!
Build failed
|
bors r+ |
1349: Move integration tests to `tests` dir in workspace root r=MarkMcCaskey a=MarkMcCaskey Reorganizing some of our tests. Still tests left to migrate and a few bugs to fix. # Review - [ ] Add a short description of the the change to the CHANGELOG.md file 1357: Refactored bin commands into separate files r=syrusakbary a=syrusakbary <!-- Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test: https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests --> # Description Refactored bin commands into separate files. This PR does not do any sustancial changes other than refactoring into different files for better readability. <!-- Provide details regarding the change including motivation, links to related issues, and the context of the PR. --> # Review - [x] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: Mark McCaskey <[email protected]> Co-authored-by: Syrus <[email protected]> Co-authored-by: Syrus Akbary <[email protected]>
This PR was included in a batch that was canceled, it will be automatically retried |
1349: Move integration tests to `tests` dir in workspace root r=MarkMcCaskey a=MarkMcCaskey Reorganizing some of our tests. Still tests left to migrate and a few bugs to fix. # Review - [ ] Add a short description of the the change to the CHANGELOG.md file 1357: Refactored bin commands into separate files r=syrusakbary a=syrusakbary <!-- Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test: https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests --> # Description Refactored bin commands into separate files. This PR does not do any sustancial changes other than refactoring into different files for better readability. <!-- Provide details regarding the change including motivation, links to related issues, and the context of the PR. --> # Review - [x] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: Mark McCaskey <[email protected]> Co-authored-by: Syrus <[email protected]> Co-authored-by: Syrus Akbary <[email protected]>
Build failed (retrying...)
|
1357: Refactored bin commands into separate files r=syrusakbary a=syrusakbary <!-- Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test: https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests --> # Description Refactored bin commands into separate files. This PR does not do any sustancial changes other than refactoring into different files for better readability. <!-- Provide details regarding the change including motivation, links to related issues, and the context of the PR. --> # Review - [x] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: Syrus <[email protected]> Co-authored-by: Syrus Akbary <[email protected]>
Build failed
|
bors r+ |
1357: Refactored bin commands into separate files r=syrusakbary a=syrusakbary <!-- Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test: https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests --> # Description Refactored bin commands into separate files. This PR does not do any sustancial changes other than refactoring into different files for better readability. <!-- Provide details regarding the change including motivation, links to related issues, and the context of the PR. --> # Review - [x] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: Syrus <[email protected]> Co-authored-by: Syrus Akbary <[email protected]>
Build failed
|
bors r+ |
1357: Refactored bin commands into separate files r=syrusakbary a=syrusakbary <!-- Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test: https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests --> # Description Refactored bin commands into separate files. This PR does not do any sustancial changes other than refactoring into different files for better readability. <!-- Provide details regarding the change including motivation, links to related issues, and the context of the PR. --> # Review - [x] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: Syrus <[email protected]> Co-authored-by: Syrus Akbary <[email protected]>
Build failed |
Rage against the machine 🤘. |
bors r+ |
1357: Refactored bin commands into separate files r=syrusakbary a=syrusakbary <!-- Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test: https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests --> # Description Refactored bin commands into separate files. This PR does not do any sustancial changes other than refactoring into different files for better readability. <!-- Provide details regarding the change including motivation, links to related issues, and the context of the PR. --> # Review - [x] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: Syrus <[email protected]> Co-authored-by: Syrus Akbary <[email protected]>
bors r- |
Canceled |
bors r+ |
1357: Refactored bin commands into separate files r=syrusakbary a=syrusakbary <!-- Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test: https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests --> # Description Refactored bin commands into separate files. This PR does not do any sustancial changes other than refactoring into different files for better readability. <!-- Provide details regarding the change including motivation, links to related issues, and the context of the PR. --> # Review - [x] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: Syrus <[email protected]> Co-authored-by: Syrus Akbary <[email protected]>
Build failed
|
bors r+ |
Build succeeded
|
Description
Refactored bin commands into separate files.
This PR does not do any sustancial changes other than refactoring into different files for better readability.
Review