Skip to content

Conversation

maspe36
Copy link
Collaborator

@maspe36 maspe36 commented Sep 1, 2025

Put use rustflags; next to its usage to prevent a build warning.

   warning: the item `rustflags` is imported redundantly
    --> rclrs/build.rs:24:13
     |
  24 |         use rustflags;
     |             ^^^^^^^^^ the item `rustflags` is already defined here
     |
     = note: `#[warn(unused_imports)]` on by default
  
  warning: unused import: `rustflags`
    --> rclrs/build.rs:24:13
     |
  24 |         use rustflags;
     |             ^^^^^^^^^
  
  ---
  Finished <<< rclrs [9.19s]
  --- stderr: rclrs
  warning: the item `rustflags` is imported redundantly
    --> rclrs/build.rs:24:13
     |
  24 |         use rustflags;
     |             ^^^^^^^^^ the item `rustflags` is already defined here
     |
     = note: `#[warn(unused_imports)]` on by default
  
  warning: unused import: `rustflags`
    --> rclrs/build.rs:24:13
     |
  24 |         use rustflags;
     |             ^^^^^^^^^
  
  ---

@maspe36 maspe36 requested review from esteve and jhdcs September 1, 2025 19:02
@esteve esteve merged commit eb6d06f into ros2-rust:main Sep 1, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants