Skip to content

Commit f04dbf8

Browse files
committed
Deploy preview for PR 186 πŸ›«
1 parent 53404f1 commit f04dbf8

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

β€Žpr-preview/pr-186/mdbook/go_bindings_mdbook/index.htmlβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3288,10 +3288,10 @@ <h2 id="helper-commands-reference">Helper Commands Reference<a class="headerlink
32883288
</span></code></pre></div>
32893289
<h2 id="references">References<a class="headerlink" href="#references" title="Permanent link">&para;</a></h2>
32903290
<ul>
3291-
<li><strong>Source</strong>: <a href="https://github.com/ZettaScaleLabs/ros-z/tree/main/crates/hiroz-go/hiroz"><code>hiroz-go/hiroz/</code></a></li>
3292-
<li><strong>Examples</strong>: <a href="https://github.com/ZettaScaleLabs/ros-z/tree/main/crates/hiroz-go/examples"><code>hiroz-go/examples/</code></a></li>
3293-
<li><strong>Tests</strong>: <a href="https://github.com/ZettaScaleLabs/ros-z/tree/main/crates/hiroz-go/hiroz"><code>hiroz-go/hiroz/*_test.go</code></a></li>
3294-
<li><strong>FFI Layer</strong>: <a href="https://github.com/ZettaScaleLabs/ros-z/tree/main/crates/hiroz/src/ffi"><code>hiroz/src/ffi/</code></a></li>
3291+
<li><strong>Source</strong>: <a href="https://github.com/ZettaScaleLabs/hiroz/tree/main/crates/hiroz-go/hiroz"><code>hiroz-go/hiroz/</code></a></li>
3292+
<li><strong>Examples</strong>: <a href="https://github.com/ZettaScaleLabs/hiroz/tree/main/crates/hiroz-go/examples"><code>hiroz-go/examples/</code></a></li>
3293+
<li><strong>Tests</strong>: <a href="https://github.com/ZettaScaleLabs/hiroz/tree/main/crates/hiroz-go/hiroz"><code>hiroz-go/hiroz/*_test.go</code></a></li>
3294+
<li><strong>FFI Layer</strong>: <a href="https://github.com/ZettaScaleLabs/hiroz/tree/main/crates/hiroz/src/ffi"><code>hiroz/src/ffi/</code></a></li>
32953295
</ul>
32963296

32973297

β€Žpr-preview/pr-186/search/search_index.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

β€Žpr-preview/pr-186/user-guide/go_interop_tests/index.htmlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2003,7 +2003,7 @@ <h3 id="common-infrastructure-common_testgo">Common Infrastructure (<code>common
20032003
<li>Stops the process via <code>t.Cleanup</code> β€” no manual teardown needed</li>
20042004
<li><code>router.Config()</code> returns the <code>ZENOH_CONFIG_OVERRIDE</code>-format string for Go contexts</li>
20052005
<li><code>getROS2Env(router)</code> returns env vars for ROS 2 processes: <code>RMW_IMPLEMENTATION=rmw_zenoh_cpp</code> and the matching <code>ZENOH_CONFIG_OVERRIDE</code></li>
2006-
<li><code>rustEnv(router)</code> returns env vars for Rust hiroz processes: <code>ROSZ_CONFIG_OVERRIDE</code> pointing at the test router</li>
2006+
<li><code>rustEnv(router)</code> returns env vars for Rust hiroz processes: <code>ZENOH_CONFIG_OVERRIDE</code> pointing at the test router</li>
20072007
</ul>
20082008
<p><strong>Availability checks</strong> run before tests that need external tools:</p>
20092009
<ul>
@@ -2121,7 +2121,7 @@ <h3 id="go-rust-hiroz-tests-hiroz_rust_testgo">Go ↔ Rust hiroz Tests (<code>hi
21212121
<p>Tests skip gracefully when the Rust example binary is missing β€” build it first:</p>
21222122
<div class="language-bash highlight"><pre><span></span><code><span id="__span-1-1"><a id="__codelineno-1-1" name="__codelineno-1-1" href="#__codelineno-1-1"></a>just<span class="w"> </span>-f<span class="w"> </span>crates/hiroz-go/justfile<span class="w"> </span>build-rust-examples
21232123
</span></code></pre></div>
2124-
<p><strong>How Rust processes are configured:</strong> <code>ZContextBuilder</code> in the Rust examples reads <code>ROSZ_CONFIG_OVERRIDE</code> (same <code>key=value;key=value</code> format as <code>ZENOH_CONFIG_OVERRIDE</code> for rmw) and applies those keys on top of the default ROS session config. The test injects this variable to point the Rust process at the per-test router.</p>
2124+
<p><strong>How Rust processes are configured:</strong> <code>ZContextBuilder</code> in the Rust examples reads <code>ZENOH_CONFIG_OVERRIDE</code> (same <code>key=value;key=value</code> format as <code>ZENOH_CONFIG_OVERRIDE</code> for rmw) and applies those keys on top of the default ROS session config. The test injects this variable to point the Rust process at the per-test router.</p>
21252125
<h2 id="adding-a-new-integration-test">Adding a New Integration Test<a class="headerlink" href="#adding-a-new-integration-test" title="Permanent link">&para;</a></h2>
21262126
<p>Create or add to a <code>_test.go</code> file in <code>crates/hiroz-go/interop_tests/</code>. Add the build tag at the top:</p>
21272127
<div class="language-go highlight"><pre><span></span><code><span id="__span-2-1"><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a><span class="c1">//go:build integration</span>

0 commit comments

Comments
Β (0)