mirror of
https://github.com/storytold/wgpu.git
synced 2026-12-01 02:24:35 +01:00
[naga]: Add no_std polyfill for round_ties_even for f32 and f64 (#7585)
* Rely on `libm` for a `no_std` alternative to `round_ties_even` Update comments around `no_std` CI task * Update Cargo.toml * Feedback Co-Authored-By: Connor Fitzgerald <connorwadefitzgerald@gmail.com> --------- Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
This commit is contained in:
1 parent
2a924a330a
commit
f04391d916
7 files changed
+20
-4
No files matched your search
@@ -292,7 +292,7 @@ jobs:
|
||||
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} -p wgpu-hal --all-features
|
||||
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} -p wgpu --all-features
|
||||
|
||||
# Building for no_std platforms where every feature is enabled except "std".
|
||||
# Building for no_std platforms.
|
||||
- name: Check `no_std`
|
||||
if: matrix.kind == 'no_std'
|
||||
shell: bash
|
||||
@@ -301,9 +301,11 @@ jobs:
|
||||
|
||||
# check with no features
|
||||
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} -p wgpu-types --no-default-features
|
||||
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} -p naga --no-default-features
|
||||
|
||||
# Check with all features except "std".
|
||||
# Check with all compatible features
|
||||
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} -p wgpu-types --no-default-features --features strict_asserts,fragile-send-sync-non-atomic-wasm,serde,counters
|
||||
cargo clippy --target ${{ matrix.target }} ${{ matrix.extra-flags }} -p naga --no-default-features --features dot-out,compact
|
||||
|
||||
# Building for native platforms with standard tests.
|
||||
- name: Check native
|
||||
|
||||
Reference in new issue
Block a user