Commit 295b2ce
committed
Handle conditional NodeEntropy types for UniFFI
Adapt the NodeEntropy initialization to account for diverging
constructor signatures when the uniffi feature is active.
The UniFFI layer requires shared ownership (Arc) and dynamic byte
validation (Result/Vec) to facilitate memory management and error
handling across the FFI boundary. This change ensures the builder
receives the expected pointer type in UniFFI builds while
maintaining the zero-cost stack allocation for standard Rust usage.1 parent 1f51948 commit 295b2ce
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2445 | 2445 | | |
2446 | 2446 | | |
2447 | 2447 | | |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
2448 | 2451 | | |
2449 | 2452 | | |
2450 | 2453 | | |
| |||
0 commit comments