Skip to content

Commit

Permalink
build: Update rust toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRibera committed Sep 10, 2024
1 parent 49f654f commit 718caa9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
13 changes: 4 additions & 9 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,10 @@
let
inherit (pkgs) lib;
# Toolchain with wasm32 target
toolchain = with fenix.packages.${system};
combine [
complete.cargo
complete.clippy
complete.rust-src
complete.rustc
complete.rustfmt
targets.wasm32-unknown-unknown.latest.rust-std
];
toolchain = fenix.packages.${system}.fromToolchainFile {
file = ./rust-toolchain.toml;
sha256 = "sha256-2Af13p12CWwmppsdujS1EeCQ41u0rMzJmqNh7WQ2QKM=";
};
# craneLib with wasm32 toolchain
craneLib = crane.lib.${system}.overrideToolchain toolchain;
# Node modules installer
Expand Down
4 changes: 3 additions & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[toolchain]
channel = "nightly-2024-02-12"
profile = "default"
profile = "minimal"
targets = ["wasm32-unknown-unknown"]

0 comments on commit 718caa9

Please sign in to comment.