forked from M-Labs/nalgebra
Merge pull request #1026 from dimforge/nalgebra-glm-no-std
Fix nalgebra-glm no-std CI build
This commit is contained in:
commit
0225914b37
4
.github/workflows/nalgebra-ci-build.yml
vendored
4
.github/workflows/nalgebra-ci-build.yml
vendored
@ -106,3 +106,7 @@ jobs:
|
|||||||
run: xargo build --verbose --no-default-features --features alloc --target=x86_64-unknown-linux-gnu;
|
run: xargo build --verbose --no-default-features --features alloc --target=x86_64-unknown-linux-gnu;
|
||||||
- name: build thumbv7em-none-eabihf
|
- name: build thumbv7em-none-eabihf
|
||||||
run: xargo build --verbose --no-default-features --target=thumbv7em-none-eabihf;
|
run: xargo build --verbose --no-default-features --target=thumbv7em-none-eabihf;
|
||||||
|
- name: build x86_64-unknown-linux-gnu nalgebra-glm
|
||||||
|
run: xargo build --verbose --no-default-features -p nalgebra-glm --target=x86_64-unknown-linux-gnu;
|
||||||
|
- name: build thumbv7em-none-eabihf nalgebra-glm
|
||||||
|
run: xargo build --verbose --no-default-features -p nalgebra-glm --target=thumbv7em-none-eabihf;
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
use approx::AbsDiffEq;
|
use approx::AbsDiffEq;
|
||||||
use num::{Bounded, Signed};
|
use num::{Bounded, Signed};
|
||||||
|
|
||||||
|
use core::cmp::PartialOrd;
|
||||||
use na::Scalar;
|
use na::Scalar;
|
||||||
use simba::scalar::{ClosedAdd, ClosedMul, ClosedSub, RealField};
|
use simba::scalar::{ClosedAdd, ClosedMul, ClosedSub, RealField};
|
||||||
use std::cmp::PartialOrd;
|
|
||||||
|
|
||||||
/// A number that can either be an integer or a float.
|
/// A number that can either be an integer or a float.
|
||||||
pub trait Number:
|
pub trait Number:
|
||||||
|
Loading…
Reference in New Issue
Block a user