Feature flag testbed_3d code correctly (#16866)

# Objective

Rust-Analyzer was reporting problems with dead code in the 3d testbed
scene.

## Solution

These scenes don't work in CI on the Windows runner (because they're too
weak).

Mirror the feature flags from above onto the offending modules.

## Testing

RA no longer complains.
This commit is contained in:
Alice Cecile 2024-12-17 13:34:11 -08:00 committed by GitHub
parent 39f9e07b5f
commit 6fd6ce1367
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -138,6 +138,7 @@ mod light {
}
}
#[cfg(not(all(feature = "bevy_ci_testing", target_os = "windows")))]
mod bloom {
use bevy::{
core_pipeline::{bloom::Bloom, tonemapping::Tonemapping},
@ -191,6 +192,7 @@ mod bloom {
}
}
#[cfg(not(all(feature = "bevy_ci_testing", target_os = "windows")))]
mod gltf {
use bevy::prelude::*;