Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove cxx_build call, which is no longer used #470

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions libraries/extensions/ros2-bridge/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,9 @@
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<PathBuf> {

Check warning on line 20 in libraries/extensions/ros2-bridge/build.rs

View workflow job for this annotation

GitHub Actions / CLI Test (ubuntu-latest)

function `ament_prefix_paths` is never used

Check warning on line 20 in libraries/extensions/ros2-bridge/build.rs

View workflow job for this annotation

GitHub Actions / CLI Test (macos-latest)

function `ament_prefix_paths` is never used

Check warning on line 20 in libraries/extensions/ros2-bridge/build.rs

View workflow job for this annotation

GitHub Actions / ROS2 Bridge Examples

function `ament_prefix_paths` is never used

Check warning on line 20 in libraries/extensions/ros2-bridge/build.rs

View workflow job for this annotation

GitHub Actions / ROS2 Bridge Examples

function `ament_prefix_paths` is never used

Check warning on line 20 in libraries/extensions/ros2-bridge/build.rs

View workflow job for this annotation

GitHub Actions / CLI Test (windows-latest)

function `ament_prefix_paths` is never used

Check warning on line 20 in libraries/extensions/ros2-bridge/build.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

function `ament_prefix_paths` is never used

Check warning on line 20 in libraries/extensions/ros2-bridge/build.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

function `ament_prefix_paths` is never used

Check warning on line 20 in libraries/extensions/ros2-bridge/build.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

function `ament_prefix_paths` is never used

Check warning on line 20 in libraries/extensions/ros2-bridge/build.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

function `ament_prefix_paths` is never used

Check warning on line 20 in libraries/extensions/ros2-bridge/build.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

function `ament_prefix_paths` is never used

Check warning on line 20 in libraries/extensions/ros2-bridge/build.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

function `ament_prefix_paths` is never used
let ament_prefix_path: String = match std::env::var("AMENT_PREFIX_PATH") {
Ok(path) => path,
Err(std::env::VarError::NotPresent) => {
Expand Down
Loading