Skip to content

Commit 00990b7

Browse files
committed
build: target Rust 1.75 for bindgen. Updated bindings
Signed-off-by: Esteve Fernandez <[email protected]>
1 parent 8b1ff4c commit 00990b7

File tree

3 files changed

+1155
-1153
lines changed

3 files changed

+1155
-1153
lines changed

rclrs/generate_bindings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ def main():
1919
bindgen_command.append(f'{output_directory}/rcl_bindings_generated_{ros_distribution}.rs')
2020
bindgen_command.append('--rust-edition')
2121
bindgen_command.append('2021')
22+
bindgen_command.append('--rust-target')
23+
bindgen_command.append('1.75')
2224
bindgen_command.append('--no-derive-copy')
2325
bindgen_command.append('--allowlist-type')
2426
bindgen_command.append('rcl_.*')
@@ -56,4 +58,4 @@ def main():
5658
subprocess.run(bindgen_command)
5759

5860
if __name__ == "__main__":
59-
main()
61+
main()

0 commit comments

Comments
 (0)