Skip to content
This repository was archived by the owner on Aug 20, 2021. It is now read-only.
This repository was archived by the owner on Aug 20, 2021. It is now read-only.

GUID bytes are incorrect #2

@robsmith11

Description

@robsmith11

It appears that only the last 8 bytes of a GUID are captured.

For example, here's an embedded rust function that simply prints an atomic GUID:

#[no_mangle]
pub extern fn f(k: *const K) -> *const K {
    match KVal::new(k) {
        KVal::Guid(KData::Atom(a)) => { println!("{:?}", a); kvoid() }
        _ => kerror("nyi")
    }
}
q)f 0x0 sv 16#0xff
[1, 0, 0, 0, 0, 0, 0, 0, 255, 255, 255, 255, 255, 255, 255, 255]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions