Skip to content

Commit

Permalink
Upgrade to Rust 1.24.1
Browse files Browse the repository at this point in the history
Bump the Rust toolchain version specified in `shell.nix` from 1.22.1
to 1.24.1 to escape a `jobserver` bug:
<rust-lang/rust#46981>.

Version 1.24.1 comes with rustfmt, so this patch also drops the
dependency on the Nix package for rustfmt. The version of rustfmt
bundled with rustc 1.24.1 does not accept any of the `rustfmt.toml`
configuration file options I was using, so this patch deletes
`rustfmt.toml`.
  • Loading branch information
8573 committed Mar 19, 2018
1 parent f071f08 commit 3bcb5e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 0 additions & 6 deletions rustfmt.toml

This file was deleted.

3 changes: 1 addition & 2 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,10 @@ stdenv.mkDerivation rec {

nativeBuildInputs = [
(rustChannelOf {
channel = "1.22.1";
channel = "1.24.1";
}).rust
clang
git
rustfmt
pkgconfig
];

Expand Down

0 comments on commit 3bcb5e4

Please sign in to comment.