feat(compiler): implement typed registry and production PBX conformance (AGD76)
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"initError": {
|
||||
"code": "registry_load_failed",
|
||||
"load": {
|
||||
"code": "LOAD_INVALID_REGISTRY",
|
||||
"function": 0,
|
||||
"id_domain": null,
|
||||
"limit": null,
|
||||
"member": null,
|
||||
"offset": 136,
|
||||
"pc": null,
|
||||
"reason": "LifecycleRole",
|
||||
"record": 0,
|
||||
"referenced_id": null,
|
||||
"requested": null,
|
||||
"resource": null,
|
||||
"section": 1
|
||||
},
|
||||
"message": "RegistryLoadFailed(LoadFailure { code: InvalidRegistry, reason: LifecycleRole, section: Some(1), offset: Some(136), record: Some(0), member: None, id_domain: None, referenced_id: None, function: Some(0), pc: None, resource: None, requested: None, limit: None })"
|
||||
},
|
||||
"kind": "vm_init",
|
||||
"pc": null,
|
||||
"summary": "Conformance fixture"
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"initError": {
|
||||
"binding": {
|
||||
"declared_arg_slots": 1,
|
||||
"declared_ret_slots": 1,
|
||||
"expected_arg_slots": 0,
|
||||
"expected_ret_slots": 1,
|
||||
"module": "system",
|
||||
"name": "has_cart",
|
||||
"reason": "abi_mismatch",
|
||||
"version": 1
|
||||
},
|
||||
"code": "loader_patch_failed",
|
||||
"message": "LoaderPatchFailed(ResolveFailed(AbiMismatch { module: \"system\", name: \"has_cart\", version: 1, declared_arg_slots: 1, declared_ret_slots: 1, expected_arg_slots: 0, expected_ret_slots: 1 }))"
|
||||
},
|
||||
"kind": "vm_init",
|
||||
"pc": null,
|
||||
"summary": "Conformance fixture"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"initError": {
|
||||
"binding": {
|
||||
"module": "system",
|
||||
"name": "has_cart",
|
||||
"provided": 0,
|
||||
"reason": "missing_capability",
|
||||
"required": 1,
|
||||
"version": 1
|
||||
},
|
||||
"code": "loader_patch_failed",
|
||||
"message": "LoaderPatchFailed(ResolveFailed(MissingCapability { required: 1, provided: 0, module: \"system\", name: \"has_cart\", version: 1 }))"
|
||||
},
|
||||
"kind": "vm_init",
|
||||
"pc": null,
|
||||
"summary": "Conformance fixture"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"initError": {
|
||||
"code": "registry_load_failed",
|
||||
"load": {
|
||||
"code": "LOAD_RESOURCE_LIMIT",
|
||||
"function": null,
|
||||
"id_domain": null,
|
||||
"limit": 0,
|
||||
"member": null,
|
||||
"offset": null,
|
||||
"pc": null,
|
||||
"reason": "Limit",
|
||||
"record": null,
|
||||
"referenced_id": null,
|
||||
"requested": 32,
|
||||
"resource": "Work",
|
||||
"section": null
|
||||
},
|
||||
"message": "RegistryLoadFailed(LoadFailure { code: ResourceLimit, reason: Limit, section: None, offset: None, record: None, member: None, id_domain: None, referenced_id: None, function: None, pc: None, resource: Some(Work), requested: Some(32), limit: Some(0) })"
|
||||
},
|
||||
"kind": "vm_init",
|
||||
"pc": null,
|
||||
"summary": "Conformance fixture"
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"initError": {
|
||||
"code": "registry_load_failed",
|
||||
"load": {
|
||||
"code": "LOAD_INVALID_CODE",
|
||||
"function": 0,
|
||||
"id_domain": null,
|
||||
"limit": null,
|
||||
"member": null,
|
||||
"offset": null,
|
||||
"pc": 0,
|
||||
"reason": "Truncated",
|
||||
"record": null,
|
||||
"referenced_id": null,
|
||||
"requested": null,
|
||||
"resource": null,
|
||||
"section": 2
|
||||
},
|
||||
"message": "RegistryLoadFailed(LoadFailure { code: InvalidCode, reason: Truncated, section: Some(2), offset: None, record: None, member: None, id_domain: None, referenced_id: None, function: Some(0), pc: Some(0), resource: None, requested: None, limit: None })"
|
||||
},
|
||||
"kind": "vm_init",
|
||||
"pc": null,
|
||||
"summary": "Conformance fixture"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"initError": {
|
||||
"binding": {
|
||||
"module": "system",
|
||||
"name": "missing",
|
||||
"reason": "unknown_syscall",
|
||||
"version": 1
|
||||
},
|
||||
"code": "loader_patch_failed",
|
||||
"message": "LoaderPatchFailed(ResolveFailed(UnknownSyscall { module: \"system\", name: \"missing\", version: 1 }))"
|
||||
},
|
||||
"kind": "vm_init",
|
||||
"pc": null,
|
||||
"summary": "Conformance fixture"
|
||||
}
|
||||
Reference in New Issue
Block a user