File tree Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Expand file tree Collapse file tree 2 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 3333 let
3434 inherit ( pkgs ) lib ;
3535 # Toolchain with wasm32 target
36- toolchain = with fenix . packages . ${ system } ;
37- combine [
38- complete . cargo
39- complete . clippy
40- complete . rust-src
41- complete . rustc
42- complete . rustfmt
43- targets . wasm32-unknown-unknown . latest . rust-std
44- ] ;
36+ toolchain = fenix . packages . ${ system } . fromToolchainFile {
37+ file = ./rust-toolchain.toml ;
38+ sha256 = "sha256-2Af13p12CWwmppsdujS1EeCQ41u0rMzJmqNh7WQ2QKM=" ;
39+ } ;
4540 # craneLib with wasm32 toolchain
4641 craneLib = crane . lib . ${ system } . overrideToolchain toolchain ;
4742 # Node modules installer
Original file line number Diff line number Diff line change 11[toolchain ]
22channel = " nightly-2024-02-12"
3- profile = " default"
3+ profile = " minimal"
4+ targets = [" wasm32-unknown-unknown" ]
5+
You can’t perform that action at this time.
0 commit comments