Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Dec 21, 2024
1 parent b1fa398 commit 40af867
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ jobs:
- uses: actions/checkout@v2

- name: Install target
run: rustup target add wasm32-wasip1
run: |
rustup toolchain add 1.81.0
rustup target add --toolchain 1.81.0 wasm32-wasip1
- name: Build (all features enabled)
run: cargo build --verbose --target wasm32-wasip1 -p russh
run: cargo +1.81.0 build --verbose --target wasm32-wasip1 -p russh

Formatting:
runs-on: ubuntu-24.04
Expand Down
1 change: 1 addition & 0 deletions russh-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ impl SshConfigStrExt for &str {
&& ((self.starts_with('\'') && self.ends_with('\''))
|| (self.starts_with('\"') && self.ends_with('\"')))
{
#[allow(clippy::indexing_slicing)] // length checked
&self[1..self.len() - 1]
} else {
self
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.70.0"
channel = "1.73.0"

0 comments on commit 40af867

Please sign in to comment.