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:
parent
39f9e07b5f
commit
6fd6ce1367
@ -138,6 +138,7 @@ mod light {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(not(all(feature = "bevy_ci_testing", target_os = "windows")))]
|
||||||
mod bloom {
|
mod bloom {
|
||||||
use bevy::{
|
use bevy::{
|
||||||
core_pipeline::{bloom::Bloom, tonemapping::Tonemapping},
|
core_pipeline::{bloom::Bloom, tonemapping::Tonemapping},
|
||||||
@ -191,6 +192,7 @@ mod bloom {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(not(all(feature = "bevy_ci_testing", target_os = "windows")))]
|
||||||
mod gltf {
|
mod gltf {
|
||||||
use bevy::prelude::*;
|
use bevy::prelude::*;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user