Skip to content

Commit

Permalink
Add Rust toolchain file.
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaker committed Dec 21, 2023
1 parent b8558ab commit 844a85e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[toolchain]
channel = "nightly"
components = [ "rustfmt", "rustc-dev" ]
profile = "minimal"
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
#![feature(
iter_advance_by,
iter_next_chunk,
int_roundings,
slice_as_chunks,
array_chunks
)]
Expand Down

0 comments on commit 844a85e

Please sign in to comment.