-
Notifications
You must be signed in to change notification settings - Fork 28
starlark-rust doesn't build #266
Comments
Looks like you're using rust 1.37 and we have a minimum supported version of 1.38 due to changes in the standard library:
|
Thanks, I figured out a way to make it build, but the documentation should have told me exactly what to do. |
The version of rust is already 6 months old https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1390-2019-11-07. This is questionable if this is part of the documentation, this will quickly becomes out of date. Maybe we can add a check that would output a better error message? Seems like it should be doable soonish: rust-lang/rfcs#2495 |
If you want more users, then your project's main page should show the commands needed to install the project onto a typical machine, stating any toolchain version requirements and how to verify them. May I humbly suggest as an example: https://github.com/google/starlark-go#getting-started If you don't want more users, you can do whatever you want. ;) |
Our users are rust developers and yourself :) Anyhow I am not suggesting to not mark it. We have a section about building the code, which happens to be wrong in one case. Your document does not include the version of the go toolchain you need to install either, this is what I think should be maintained, if we can specify the rust toolchain in the cargo manifest, this is a way better approach IMO. |
True, but that's because it works with the last releases of Go (and probably many more), which means in practice it just works. |
I assume I'm holding it wrong, but the documentation doesn't tell me how to hold it right.
The text was updated successfully, but these errors were encountered: