Skip to content

Commit e7d6da9

Browse files
committed
fix: use profile-specific targets in multi_profile example
- rust_wasm_component creates profile-specific targets (e.g., camera_sensor_debug) - Update wac_compose to reference the correct profile-specific targets - Fixes 'rule does not exist' error in CI build
1 parent 329accf commit e7d6da9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

examples/multi_profile/BUILD.bazel

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ rust_wasm_component_bindgen(
3939
wac_compose(
4040
name = "development_system",
4141
components = {
42-
"camera": ":camera_sensor",
43-
"ai": ":object_detection",
42+
"camera": ":camera_sensor_debug", # Use debug profile
43+
"ai": ":object_detection_release", # Use release profile
4444
},
4545
profile = "debug", # Default profile
4646
component_profiles = {
@@ -70,8 +70,8 @@ wac_compose(
7070
wac_compose(
7171
name = "production_system",
7272
components = {
73-
"camera": ":camera_sensor",
74-
"ai": ":object_detection",
73+
"camera": ":camera_sensor_release",
74+
"ai": ":object_detection_release",
7575
},
7676
profile = "release", # All components use release profile
7777
use_symlinks = True,
@@ -82,8 +82,8 @@ wac_compose(
8282
wac_compose(
8383
name = "test_system",
8484
components = {
85-
"camera": ":camera_sensor",
86-
"ai": ":object_detection",
85+
"camera": ":camera_sensor_debug",
86+
"ai": ":object_detection_custom",
8787
},
8888
component_profiles = {
8989
"camera": "debug", # Debug camera for detailed logging

0 commit comments

Comments
 (0)