Skip to content

Commit 64e7387

Browse files
authored
Fix minimal feature configurations (#811)
# Objective Minimal feature configs are broken again... ## Solution Fix 'em!
1 parent 0eb1fb0 commit 64e7387

File tree

7 files changed

+10
-8
lines changed

7 files changed

+10
-8
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,10 @@ jobs:
5353
- uses: actions/checkout@v4
5454
- uses: dtolnay/rust-toolchain@nightly
5555
with:
56-
toolchain: nightly-2025-08-07
5756
components: llvm-tools-preview
58-
- uses: cargo-bins/cargo-binstall@main
59-
- name: Install nextest
60-
run: cargo binstall cargo-nextest --force
61-
- name: Install LLD
62-
run: cargo binstall cargo-binutils --force
57+
- uses: taiki-e/install-action@v2
58+
with:
59+
tool: cargo-nextest,cargo-binutils
6360
- name: Activate CI cargo config
6461
run: mv .cargo/config_ci.toml .cargo/config.toml
6562
- name: set LD_LIBRARY_PATH on unix

src/dynamics/joints/distance.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ fn update_local_anchors(
196196
}
197197
}
198198

199+
#[cfg(feature = "debug-plugin")]
199200
impl DebugRenderConstraint<2> for DistanceJoint {
200201
type Context = ();
201202

src/dynamics/joints/fixed.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ fn update_local_frames(
277277
}
278278
}
279279

280+
#[cfg(feature = "debug-plugin")]
280281
impl DebugRenderConstraint<2> for FixedJoint {
281282
type Context = ();
282283

src/dynamics/joints/prismatic.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ fn update_local_frames(
347347
}
348348
}
349349

350+
#[cfg(feature = "debug-plugin")]
350351
impl DebugRenderConstraint<2> for PrismaticJoint {
351352
type Context = ();
352353

src/dynamics/joints/revolute.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,7 @@ fn update_local_frames(
378378
}
379379
}
380380

381+
#[cfg(feature = "debug-plugin")]
381382
impl DebugRenderConstraint<2> for RevoluteJoint {
382383
type Context = ();
383384

src/dynamics/joints/spherical.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ fn update_local_frames(
358358
}
359359
}
360360

361+
#[cfg(feature = "debug-plugin")]
361362
impl DebugRenderConstraint<2> for SphericalJoint {
362363
type Context = ();
363364

src/math/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ pub(crate) type SymmetricTensor = SymmetricMatrix;
8282

8383
/// The rotation type chosen based on the dimension.
8484
#[cfg(feature = "2d")]
85-
pub(crate) type Rot = Rotation;
85+
pub(crate) type Rot = crate::physics_transform::Rotation;
8686

8787
/// The rotation type chosen based on the dimension.
8888
#[cfg(feature = "3d")]
@@ -660,7 +660,7 @@ pub fn orthonormal_basis(axes: [Vector; DIM]) -> Rot {
660660
#[cfg(feature = "2d")]
661661
{
662662
let mat = Matrix2::from_cols(axes[0], axes[1]);
663-
Rotation::from(mat)
663+
crate::physics_transform::Rotation::from(mat)
664664
}
665665
#[cfg(feature = "3d")]
666666
{

0 commit comments

Comments
 (0)