Repository: osa1/tiny (language: rust)

Issue:
Adding a rust-toolchain file
Such that cargo defaults to nightly when building tiny. Adds the possibilty to also lock the compiler version along with the already locked crates.

https://github.com/rust-lang/rustup.rs#the-toolchain-file


Discussion / hints:
This seems like a good idea, but I couldn't make it work. As a test I added a `rust-toolchain` file with just one line: `stable`, but `cargo build` still built it with nightly even on a clean tree.

If anyone knows how to make this work a PR would be appreciated.

Fix patch:
diff --git a/rust-toolchain b/rust-toolchain
new file mode 100644
index 00000000..bf867e0a
--- /dev/null
+++ b/rust-toolchain
@@ -0,0 +1,1 @@
+nightly


Test patch: