-
Notifications
You must be signed in to change notification settings - Fork 1
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
'rustfmt' is not installed for the toolchain #3
Comments
@qvignaud Thanks for reporting this. |
r-bk
added a commit
that referenced
this issue
Jul 10, 2024
This commit makes the `format_file` function a best effort, to not fail the build on toolchains where `rustfmt` isn't installed. This handles #3.
r-bk
added a commit
that referenced
this issue
Jul 12, 2024
By default `dtolnay/rust-toolchain@v1` uses the `minimal` rustup profile for toolchain installation. This commit tests the fix for #3.
r-bk
added a commit
that referenced
this issue
Jul 12, 2024
By default `dtolnay/rust-toolchain@v1` uses the `minimal` rustup profile for toolchain installation. However, seems like Actions bring some pre-cached image with rustfmt installed. So this commit removes rustfmt explicitly. This commit tests the fix for #3.
r-bk
added a commit
that referenced
this issue
Jul 12, 2024
By default `dtolnay/rust-toolchain@v1` uses the `minimal` rustup profile for toolchain installation. However, seems like Actions bring some pre-cached image with rustfmt installed. So this commit removes rustfmt explicitly. This commit tests the fix for #3.
r-bk
added a commit
that referenced
this issue
Jul 12, 2024
By default `dtolnay/rust-toolchain@v1` uses the `minimal` rustup profile for toolchain installation. However, seems like Actions bring some pre-cached image with rustfmt installed. So this commit removes rustfmt explicitly. This commit tests the fix for #3.
r-bk
added a commit
that referenced
this issue
Jul 12, 2024
By default `dtolnay/rust-toolchain@v1` uses the `minimal` rustup profile for toolchain installation. However, seems like Actions bring some pre-cached image with rustfmt installed. So this commit removes rustfmt explicitly. This commit tests the fix for #3.
r-bk
added a commit
that referenced
this issue
Jul 12, 2024
This commit makes the `format_file` function a best effort, to not fail the build on toolchains where `rustfmt` isn't installed. This handles #3.
r-bk
added a commit
that referenced
this issue
Jul 12, 2024
By default `dtolnay/rust-toolchain@v1` uses the `minimal` rustup profile for toolchain installation. However, seems like Actions bring some pre-cached image with rustfmt installed. So this commit removes rustfmt explicitly. This commit tests the fix for #3.
r-bk
added a commit
that referenced
this issue
Jul 12, 2024
This commit makes the `format_file` function a best effort, to not fail the build on toolchains where `rustfmt` isn't installed. This handles #3.
r-bk
added a commit
that referenced
this issue
Jul 12, 2024
By default `dtolnay/rust-toolchain@v1` uses the `minimal` rustup profile for toolchain installation. However, seems like Actions bring some pre-cached image with rustfmt installed. So this commit removes rustfmt explicitly. This commit tests the fix for #3.
r-bk
added a commit
to r-bk/ch4
that referenced
this issue
Jul 12, 2024
This commit makes the `format_file` function a best effort, to not fail the build on toolchains where `rustfmt` isn't installed. This commit follows r-bk/rsdns#3 to handle the same issue in ch4.
r-bk
added a commit
to r-bk/ch4
that referenced
this issue
Jul 12, 2024
This commit makes the `format_file` function a best effort, to not fail the build on toolchains where `rustfmt` isn't installed. This commit follows r-bk/rsdns#3 to handle the same issue in ch4.
r-bk
added a commit
to r-bk/ch4
that referenced
this issue
Jul 12, 2024
This commit makes the `format_file` function a best effort, to not fail the build on toolchains where `rustfmt` isn't installed. This commit follows r-bk/rsdns#3 to handle the same issue in ch4.
@qvignaud The issue is fixed in v0.18.0 |
Thank you very much! I will try it again |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I'm currently trying to use this crate but it cannot be compiled due to the build script requiring
rustfmt
, however this tool is not installed on the official Rust build images (https://hub.docker.com/_/rust), nor it is on many build environments.I don't know if it can be called a bug or a misconception, as build scripts should not rely on such tools being present (nor even really care about formatting of the code).
In my case it's out of question to change anything in the build environment "just" to have some DNS resolution features.
I can only recommend you to remove this requirement for future users, otherwise this lib seems really to be a good tool, even if I'm a bit surprised by the way it is implemented.
The text was updated successfully, but these errors were encountered: