Skip to content

Commit f706824

Browse files
authored
chore: remove references to installing cargo-ament-build via cargo (#442)
Signed-off-by: Esteve Fernandez <[email protected]>
1 parent 6ac2ae1 commit f706824

File tree

5 files changed

+1
-12
lines changed

5 files changed

+1
-12
lines changed

.github/workflows/rust-minimal.yml

-4
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,6 @@ jobs:
7676
cd -
7777
done
7878
79-
- name: Install cargo-ament-build
80-
run: |
81-
cargo install --debug cargo-ament-build
82-
8379
- name: Build and test
8480
id: build
8581
uses: ros-tooling/[email protected]

.github/workflows/rust-stable.yml

-4
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,6 @@ jobs:
7676
cd -
7777
done
7878
79-
- name: Install cargo-ament-build
80-
run: |
81-
cargo install --debug cargo-ament-build
82-
8379
- name: Build and test
8480
id: build
8581
uses: ros-tooling/[email protected]

Dockerfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@ RUN apt-get update && apt-get install -y \
1111
python3-pip \
1212
&& rm -rf /var/lib/apt/lists/*
1313

14-
# Install Rust and the cargo-ament-build plugin
14+
# Install Rust
1515
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain 1.75.0 -y
1616
ENV PATH=/root/.cargo/bin:$PATH
17-
RUN cargo install cargo-ament-build
1817

1918
RUN pip install --upgrade pytest
2019

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ Here are the steps for building the `ros2_rust` examples in a vanilla Ubuntu Foc
3737
# Assuming you installed the minimal version of ROS 2, you need these additional packages:
3838
sudo apt install -y git libclang-dev python3-pip python3-vcstool # libclang-dev is required by bindgen
3939
# Install these plugins for cargo and colcon:
40-
cargo install --debug cargo-ament-build # --debug is faster to install
4140
pip install git+https://github.com/colcon/colcon-cargo.git
4241
pip install git+https://github.com/colcon/colcon-ros-cargo.git
4342

docs/building.md

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ The exact steps may differ between platforms, but as an example, here is how you
4343
# Assuming you installed the minimal version of ROS 2, you need these additional packages:
4444
sudo apt install -y git libclang-dev python3-pip python3-vcstool # libclang-dev is required by bindgen
4545
# Install these plugins for cargo and colcon:
46-
cargo install cargo-ament-build
4746
pip install git+https://github.com/colcon/colcon-cargo.git
4847
pip install git+https://github.com/colcon/colcon-ros-cargo.git
4948
```

0 commit comments

Comments
 (0)