From 13a022fdd95f1e82979dd6150a31f66bf5f92e39 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Thu, 11 Apr 2024 17:25:01 +0200 Subject: [PATCH] Remove `cxx_build` call, which is no longer used The message generation is now done in the C++ node API. This feature-gated call is never activated. --- libraries/extensions/ros2-bridge/build.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/libraries/extensions/ros2-bridge/build.rs b/libraries/extensions/ros2-bridge/build.rs index dc3a701e3..a09b2d83a 100644 --- a/libraries/extensions/ros2-bridge/build.rs +++ b/libraries/extensions/ros2-bridge/build.rs @@ -15,9 +15,6 @@ fn main() { let target_file = out_dir.join("messages.rs"); std::fs::write(&target_file, generated_string).unwrap(); println!("cargo:rustc-env=MESSAGES_PATH={}", target_file.display()); - - #[cfg(feature = "cxx-bridge")] - let _build = cxx_build::bridge(&target_file); } fn ament_prefix_paths() -> Vec {