Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: wep21 <[email protected]>
  • Loading branch information
wep21 committed Dec 26, 2024
1 parent 7b71201 commit 71bfe89
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions modules/iceoryx2/0.5.0/patches/bindgen.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git iceoryx2-ffi/ffi/BUILD.bazel iceoryx2-ffi/ffi/BUILD.bazel
index f2738f81..a4e27e63 100644
index f2738f81..ab83c171 100644
--- iceoryx2-ffi/ffi/BUILD.bazel
+++ iceoryx2-ffi/ffi/BUILD.bazel
@@ -20,9 +20,10 @@ filegroup(
@@ -20,22 +20,21 @@ filegroup(
srcs = glob(["**"]),
)

Expand All @@ -16,17 +16,18 @@ index f2738f81..a4e27e63 100644
)

genrule(
@@ -31,11 +32,11 @@ genrule(
name = "iceoryx2-ffi-cbindgen",
srcs = glob(["src/**/*.rs"]) + [
"//:all_srcs",
"Cargo.toml",
"cbindgen.toml",
- "Cargo.toml",
- "cbindgen.toml",
- ":cbindgen-cli",
+ ":cbindgen",
],
outs = ["include/iox2/iceoryx2.h"],
# this is actually just 'cbindgen iceoryx2-ffi/ffi --quiet --config iceoryx2-ffi/ffi/cbindgen.toml --output include/iox2/iceoryx2.h'
- cmd = "$(execpath :cbindgen-cli) $$(dirname $(location Cargo.toml)) --quiet --config $(location cbindgen.toml) --output $(OUTS)",
+ cmd = "$(execpath :cbindgen) $$(dirname $(location Cargo.toml)) --quiet --config $(location cbindgen.toml) --output $(OUTS)",
+ cmd = "$(execpath :cbindgen) $$(dirname $(location @iceoryx2//iceoryx2_ffi/ffi:Cargo.toml)) --quiet --config $(location @iceoryx2//iceoryx2_ffi/ffi:cbindgen.toml) --output $(OUTS)",
)

rust_shared_library(
Expand Down
2 changes: 1 addition & 1 deletion modules/iceoryx2/0.5.0/source.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"MODULE.bazel": "sha256-5TJVZ/XxDuu6F2R+3TJQQix3XhXdwjKIyWtyY7YAVu8="
},
"patches": {
"bindgen.patch": "sha256-zfVmYHek57gazE0HtgskaXUZOTiN/ktoigqHhL3DhLw="
"bindgen.patch": "sha256-FIJlzGk33edtoV82KzThcNdQ4Xwb1tcjQdjCWINYUro="
}
}

0 comments on commit 71bfe89

Please sign in to comment.