diff --git a/.woodpecker/.build.yml b/.woodpecker/.build.yml index dc78ca2..4bef0dd 100644 --- a/.woodpecker/.build.yml +++ b/.woodpecker/.build.yml @@ -1,11 +1,11 @@ variables: - - &rust_image 'rust:1.73' + - &rust_image 'git.seanomik.net/seanomik/rust-nightly:2023-11-21-bookworm' steps: build: image: *rust_image commands: - apt update - - apt install libudev-dev + - apt install libudev-dev -y - cargo build --release - cargo test \ No newline at end of file diff --git a/rust-toolchain b/rust-toolchain deleted file mode 100644 index 07ade69..0000000 --- a/rust-toolchain +++ /dev/null @@ -1 +0,0 @@ -nightly \ No newline at end of file diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..5b28b38 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,5 @@ +[toolchain] +channel = "nightly-2023-11-21" +#components = [ "rustfmt", "rustc-dev" ] +targets = [ "x86_64-unknown-linux-gnu" ] +#profile = "minimal" \ No newline at end of file