Skip to content

Commit 2c11af2

Browse files
Merge pull request #25 from martinjrobins/i3-nighly-hang
#3 workaround for this issue
2 parents 03edd91 + 161b5ec commit 2c11af2

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,15 @@ jobs:
3030
matrix:
3131
toolchain:
3232
- stable
33-
#- beta
34-
#- nightly
3533
os:
3634
- ubuntu-latest
3735
- macos-latest
3836
- windows-latest
37+
include:
38+
- toolchain: beta
39+
os: ubuntu-latest
40+
- toolchain: nightly
41+
os: ubuntu-latest
3942

4043
steps:
4144
- uses: actions/checkout@v4
@@ -46,7 +49,7 @@ jobs:
4649
target
4750
key: unit-test-${{ runner.os }}-${{ matrix.toolchain}}
4851
- name: Set up Rust
49-
run: rustup default ${{ matrix.toolchain }} && rustup update ${{ matrix.toolchain }} --no-self-update
52+
run: rustup default ${{ matrix.toolchain }} && rustup update ${{ matrix.toolchain }} --no-self-update && rustup component add clippy
5053
- name: Rust version
5154
run: rustc -Vv
5255
- name: Install LLVM and Clang

src/vector/mod.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,10 @@ pub trait VectorView<'a>:
101101
pub trait Vector:
102102
VectorOpsByValue<Self>
103103
+ for<'b> VectorOpsByValue<&'b Self>
104-
+ for<'a> VectorOpsByValue<Self::View<'a>>
105-
+ for<'a, 'b> VectorOpsByValue<&'b Self::View<'a>>
104+
// TODO: commenting out these because they cause a compiler hang (https://github.com/martinjrobins/diffsol/issues/3)
105+
// TODO: replace when this is fixed
106+
//+ for<'a> VectorOpsByValue<Self::View<'a>>
107+
//+ for<'a, 'b> VectorOpsByValue<&'b Self::View<'a>>
106108
+ Mul<Scale<Self::T>, Output = Self>
107109
+ Div<Scale<Self::T>, Output = Self>
108110
+ VectorMutOpsByValue<Self>

0 commit comments

Comments
 (0)