Skip to content

Commit

Permalink
Merge pull request #25 from martinjrobins/i3-nighly-hang
Browse files Browse the repository at this point in the history
#3 workaround for this issue
  • Loading branch information
martinjrobins authored Apr 4, 2024
2 parents 03edd91 + 161b5ec commit 2c11af2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,15 @@ jobs:
matrix:
toolchain:
- stable
#- beta
#- nightly
os:
- ubuntu-latest
- macos-latest
- windows-latest
include:
- toolchain: beta
os: ubuntu-latest
- toolchain: nightly
os: ubuntu-latest

steps:
- uses: actions/checkout@v4
Expand All @@ -46,7 +49,7 @@ jobs:
target
key: unit-test-${{ runner.os }}-${{ matrix.toolchain}}
- name: Set up Rust
run: rustup default ${{ matrix.toolchain }} && rustup update ${{ matrix.toolchain }} --no-self-update
run: rustup default ${{ matrix.toolchain }} && rustup update ${{ matrix.toolchain }} --no-self-update && rustup component add clippy
- name: Rust version
run: rustc -Vv
- name: Install LLVM and Clang
Expand Down
6 changes: 4 additions & 2 deletions src/vector/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ pub trait VectorView<'a>:
pub trait Vector:
VectorOpsByValue<Self>
+ for<'b> VectorOpsByValue<&'b Self>
+ for<'a> VectorOpsByValue<Self::View<'a>>
+ for<'a, 'b> VectorOpsByValue<&'b Self::View<'a>>
// TODO: commenting out these because they cause a compiler hang (https://github.com/martinjrobins/diffsol/issues/3)
// TODO: replace when this is fixed
//+ for<'a> VectorOpsByValue<Self::View<'a>>
//+ for<'a, 'b> VectorOpsByValue<&'b Self::View<'a>>
+ Mul<Scale<Self::T>, Output = Self>
+ Div<Scale<Self::T>, Output = Self>
+ VectorMutOpsByValue<Self>
Expand Down

0 comments on commit 2c11af2

Please sign in to comment.