Skip to content
This repository was archived by the owner on Jul 23, 2019. It is now read-only.

Add rust-toolchain file to specify required Rust version#69

Merged
nathansobo merged 1 commit intomasterfrom
specify-rust-version
Apr 27, 2018
Merged

Add rust-toolchain file to specify required Rust version#69
nathansobo merged 1 commit intomasterfrom
specify-rust-version

Conversation

@jasonrudolph
Copy link
Copy Markdown
Contributor

When checking out the branch for #67, I ran into an issue compiling the project. @as-cii pointed out that Xray now depends on Rust 1.27 nightly. This pull request adds a rust-toolchain file to make that dependency explicit. With this change in place, running ./script/build will automatically install the nightly release if it's not already present, and it will then use that release to build the project.

It's possible to specify nightly as the version, but since nightly is a moving target, it seems useful to me to pin to a specific nightly build, so I've pinned it to the latest nightly build: nightly-2018-04-27. If we make a change that requires a newer version, we would then update rust-toolchain to make that dependency explicit.

@nathansobo nathansobo merged commit 8364d4f into master Apr 27, 2018
@nathansobo nathansobo deleted the specify-rust-version branch April 27, 2018 17:36
@nathansobo
Copy link
Copy Markdown

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants