Skip to content

Commit 6a4e420

Browse files
committed
pixi fix add rust update
Signed-off-by: knmcguire <[email protected]>
1 parent 308caf7 commit 6a4e420

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/rust-win.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,13 @@ jobs:
5353
pixi add --pypi "colcon-cargo@git+https://github.com/colcon/colcon-cargo.git" --manifest-path C:\pixi_ws\pixi.toml
5454
- name: Import other rolling ROS rust repos
5555
run: pixi run --manifest-path C:\pixi_ws\pixi.toml vcs import C:/workspace/src --input C:/workspace/src/ros2_rust/ros2_rust_rolling.repos
56+
- name: update rust version
57+
run: pixi add --manifest-path C:\pixi_ws\pixi.toml rust # necessary for examples_rclrs_message_demo error and incompatibility with backtrace v0.3.75 with rustc 1.75. (TODO update in ROS2 pixi.toml)
5658
- name: Build the rust package
57-
env:
58-
BINDGEN_EXTRA_CLANG_ARGS: -D_Check_return_= # to handle the clang error with the windows specific bindgen error
59+
#env:
60+
# BINDGEN_EXTRA_CLANG_ARGS: -D_Check_return_= # to handle the clang error with the windows specific bindgen error
5961
run: |
60-
pixi update --manifest-path C:\pixi_ws\pixi.toml rust
6162
call C:\pixi_ws\ros2-windows\setup.bat
62-
pixi run --manifest-path C:\pixi_ws\pixi.toml colcon build
63+
pixi run --manifest-path C:\pixi_ws\pixi.toml colcon build
6364
working-directory: C:/workspace
6465
shell: cmd

0 commit comments

Comments
 (0)