Implement native inventory store and cache (#61)
All checks were successful
Native code generation / deterministic (push) Successful in 12m18s
Imaging and meshing gate / native (push) Successful in 4m2s
JPEG 2000 feature / linux (push) Successful in 2m34s
Native Rust workspace compile / compile (push) Successful in 4m4s
Skia feature / linux (push) Successful in 31m2s

This commit is contained in:
2026-08-10 00:06:28 +00:00
parent 0791e0a69e
commit eb7be428c6
16 changed files with 3131 additions and 1154 deletions

View File

@@ -19,9 +19,11 @@ fn each_wire_data_domain_is_callable_and_failure_only() {
let packet = UseCircuitCodePacket::new_with_constructor()
.expect("generated packet constructor is native");
assert_eq!(packet.circuit_code.code, 0);
assert_eq!(
member_id(AgentDropGroupMessage::new()),
"M:LibreMetaverse.Messages.Linden.AgentDropGroupMessage.#ctor"
assert!(
AgentDropGroupMessage::new()
.expect("native generated message constructor")
.agent_data_block
.is_empty()
);
assert_eq!(
member_id(AssetTexture::new_with_constructor()),
@@ -47,13 +49,12 @@ fn each_wire_data_domain_is_callable_and_failure_only() {
member_id(OarFile::package_archive(String::new(), String::new())),
"M:LibreMetaverse.Assets.OarFile.PackageArchive(System.String,System.String)"
);
let bit_pack = BitPack::new(Vec::new(), 0).expect("native bit pack constructor");
assert_eq!(bit_pack.byte_pos(), 0);
assert_eq!(bit_pack.bit_pos(), 0);
assert_eq!(
member_id(BitPack::new(Vec::new(), 0)),
"M:LibreMetaverse.BitPack.#ctor(System.Byte[],System.Int32)"
);
assert_eq!(
member_id(Permissions::new(0, 0, 0, 0, 0)),
"M:LibreMetaverse.Permissions.#ctor(System.UInt32,System.UInt32,System.UInt32,System.UInt32,System.UInt32)"
Permissions::new(0, 0, 0, 0, 0).expect("native permissions constructor"),
Permissions::no_permissions()
);
}