self-host TCS compiler GIR and add portable host runtime
This commit is contained in:
parent
3959ae4270
commit
ff29e52a32
33 changed files with 3848 additions and 831 deletions
70
build/self-host/ECHO-PACKAGE.module.gir.json
Normal file
70
build/self-host/ECHO-PACKAGE.module.gir.json
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
{
|
||||
"authority_ceiling": {
|
||||
"maximum": "LOCAL_EXACT_RECEIPT_PATH",
|
||||
"network": false,
|
||||
"process": false
|
||||
},
|
||||
"capabilities": {
|
||||
"provided": [
|
||||
"HLP-CAPABILITY-ECHO-0001"
|
||||
],
|
||||
"required": [
|
||||
"CORE.ECHO"
|
||||
]
|
||||
},
|
||||
"compiled_from": {
|
||||
"compiler_id": "TCS-COMPILER-STAGE1-0001",
|
||||
"compiler_state": "TCS_COMPILER_GIR_EXECUTED",
|
||||
"source_sha256": "68e55584a1da4072a077fbf25c67307890ae7d4c373f2745178c83b522ce0570"
|
||||
},
|
||||
"data_scope": {
|
||||
"read": [
|
||||
"PROGRAM_LITERAL"
|
||||
],
|
||||
"write": [
|
||||
"ACCOUNT_OR_TEST_SCOPED_RECEIPT"
|
||||
]
|
||||
},
|
||||
"entry": {
|
||||
"id": "HLP-PROGRAM-ECHO-0001",
|
||||
"kind": "PROGRAM"
|
||||
},
|
||||
"identity": {
|
||||
"language_version": "0.1",
|
||||
"module_id": "HLP-MODULE-ECHO-0001"
|
||||
},
|
||||
"install": {
|
||||
"account_scoped": true,
|
||||
"activation_requires_self_test": true,
|
||||
"registration_is_installation": false
|
||||
},
|
||||
"manifest": {
|
||||
"display_name_zh": "光湖最小回声模块",
|
||||
"entry_program_id": "HLP-PROGRAM-ECHO-0001",
|
||||
"entry_source": "language/examples/ECHO-MODULE.tcs",
|
||||
"module_id": "HLP-MODULE-ECHO-0001"
|
||||
},
|
||||
"native_self_hosted": true,
|
||||
"network_scope": {
|
||||
"allowed": false,
|
||||
"domains": []
|
||||
},
|
||||
"projection": {
|
||||
"display_name_zh": "光湖最小回声模块",
|
||||
"technical_detail_default": false
|
||||
},
|
||||
"resource_ceiling": {
|
||||
"concurrency": 1,
|
||||
"memory_limit_bytes": 1048576,
|
||||
"timeout_ms": 1000
|
||||
},
|
||||
"rollback": {
|
||||
"action": "REMOVE_INSTALLED_BYTES_AND_RESTORE_PREVIOUS_ACTIVE_VERSION",
|
||||
"preserve_receipts": true
|
||||
},
|
||||
"schema": "guanghu.module-gir/v1",
|
||||
"self_test": {
|
||||
"expect": "EXECUTED_TARGET_READBACK_VERIFIED",
|
||||
"program_id": "HLP-PROGRAM-ECHO-0001"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue