Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-bridge/blob/main/tests/native/v2/v1use/use.rs # omega-bridge Omega-first language interoperability: checked conversion backends and native language bindings Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-bridge / tests / native / v2 / v1use / use.rs` 8 lines ยท 287 bytes Raw Blame History 1 // Links omega_bsum (the v1 symbol) from the v1 module; against the v2 library this must fail to link. 2 mod omega_native; 3 fn main() { 4 let mut r: u64 = 0; 5 let d = [0u8; 4]; 6 let s = unsafe { omega_native::omega_bsum(&mut r, d.as_ptr(), 4) }; 7 std::process::exit(s as i32); 8 }