diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1f916c28f..1429b3dfd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,17 +43,10 @@ jobs: - run: rustc --version && cargo --version - - name: Set env variables (Windows) - if: ${{ matrix.os == 'windows-latest' }} + - name: Build and test + env: + RUSTFLAGS: -C prefer-dynamic=yes run: | - $Env:RUSTFLAGS = '-C prefer-dynamic=yes' - cargo build --verbose --workspace --all-targets --all-features --profile github-ci - cargo test --verbose --workspace --all-features --profile github-ci - - - name: Set env variables (Unix) - if: ${{ matrix.os != 'windows-latest' }} - run: | - export RUSTFLAGS="-C prefer-dynamic=yes" cargo build --verbose --workspace --all-targets --all-features --profile github-ci cargo test --verbose --workspace --all-features --profile github-ci @@ -143,6 +136,9 @@ jobs: run: | cargo install fyrox-template --path=template --force - name: Generate and run project + env: + # Suppress warnings, because project template contains a lot of unused method arguments. + RUSTFLAGS: -Awarnings run: | cd ../ fyrox-template init --name test_project --style=3d diff --git a/fyrox-impl/src/resource/fbx/scene/geometry.rs b/fyrox-impl/src/resource/fbx/scene/geometry.rs index 88120b4d7..28fab0e9b 100644 --- a/fyrox-impl/src/resource/fbx/scene/geometry.rs +++ b/fyrox-impl/src/resource/fbx/scene/geometry.rs @@ -23,6 +23,7 @@ pub struct FbxMeshGeometry { pub uvs: Option>>, pub materials: Option>, pub tangents: Option>>, + #[allow(dead_code)] // TODO: Use binormals. pub binormals: Option>>, pub deformers: Vec>,