✨♻️ ci, nix, rust: Set up CI and switch to rust-overlay toolchain
- Added `.github/workflows/test.yaml` to run `cargo test` on push and pull_request events. - Replaced `fenix` with `rust-overlay` in flake inputs for Rust toolchain management. - Added `rust-toolchain.toml` specifying stable Rust with required components and targets. - Updated `flake.nix` to use `rust-bin.fromRustupToolchainFile` and removed `RUST_SRC_PATH`.
This commit is contained in:
parent
6f88a09b09
commit
5262a266c0
4 changed files with 50 additions and 56 deletions
4
rust-toolchain.toml
Normal file
4
rust-toolchain.toml
Normal file
|
@ -0,0 +1,4 @@
|
|||
[toolchain]
|
||||
channel = "stable"
|
||||
components = ["cargo", "clippy", "rust-analyzer", "rust-src", "rustfmt"]
|
||||
targets = ["wasm32-unknown-unknown"]
|
Loading…
Add table
Add a link
Reference in a new issue