If you are trying to use binary-install
and run into an issue- please file an
issue! We'd love to get you up and running, even if the issue you have might
not be directly related to the code in binary-install
. This tool seeks to make
it easy for developers to get going, so there's a good chance we can do
something to alleviate the issue by making binary-install
better documented or
more robust to different developer environments.
When filing an issue, do your best to be as specific as possible. Include
the version of rust you are using (rustc --version
) and your operating
system and version. The faster was can reproduce your issue, the faster we
can fix it for you!
If you are considering filing a pull request, make sure that there's an issue filed for the work you'd like to do. There might be some discussion required! Filing an issue first will help ensure that the work you put into your pull request will get merged :)
Before you submit your pull request, check that you have completed all of the steps mentioned in the pull request template. Link the issue that your pull request is responding to, and format your code using rustfmt.
Before submitting code in a PR, make sure that you have formatted the codebase
using rustfmt. rustfmt
is a tool for formatting Rust code, which
helps keep style consistent across the project. If you have not used rustfmt
before, it is not too difficult.
If you have not already configured rustfmt
for the
nightly toolchain, it can be done using the following steps:
1. Use Nightly Toolchain
Use the rustup override
command to make sure that you are using the nightly
toolchain. Run this command in the binary-install
directory you cloned.
rustup override set nightly
2. Add the rustfmt component
Install the most recent version of rustfmt
using this command:
rustup component add rustfmt-preview --toolchain nightly
3. Running rustfmt
To run rustfmt
, use this command:
cargo +nightly fmt
Machine specific configuration files may be generaged by your IDE while working on the project. Please make sure to add these files to a global .gitignore so they are kept from accidentally being commited to the project and causing issues for other contributors.
Some examples of these files are the .idea
folder created by JetBrains products (WebStorm, IntelliJ, etc) as well as .vscode
created by Visual Studio Code for workspace specific settings.
For help setting up a global .gitignore check out this GitHub article!
As mentioned in the readme file, this project is a part of the rust-wasm
working group,
an official working group of the Rust project. We follow the Rust Code of Conduct and enforcement policies.