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
72
build/self-host/TCS-STDLIB-CORE.module.gir.json
Normal file
72
build/self-host/TCS-STDLIB-CORE.module.gir.json
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
{
|
||||
"authority_ceiling": {
|
||||
"maximum": "LOCAL_EXACT_RECEIPT_PATH",
|
||||
"network": false,
|
||||
"process": false
|
||||
},
|
||||
"capabilities": {
|
||||
"provided": [
|
||||
"CORE.ECHO"
|
||||
],
|
||||
"required": [
|
||||
"HOST.EXACT_ROOT_IO",
|
||||
"HOST.SHA256"
|
||||
]
|
||||
},
|
||||
"compiled_from": {
|
||||
"compiler_id": "TCS-COMPILER-STAGE1-0001",
|
||||
"compiler_state": "TCS_COMPILER_GIR_EXECUTED",
|
||||
"source_sha256": "dbadf698eb2b9a1399d5ad29912dd10b4bd2711b33d5b635d08a6d7112bc0c96"
|
||||
},
|
||||
"data_scope": {
|
||||
"read": [
|
||||
"PROGRAM_LITERAL"
|
||||
],
|
||||
"write": [
|
||||
"CALLER_SCOPED_RECEIPT_ROOT"
|
||||
]
|
||||
},
|
||||
"entry": {
|
||||
"id": "TCS-STDLIB-CORE-0001",
|
||||
"kind": "REGISTERED_OPERATION_LIBRARY"
|
||||
},
|
||||
"identity": {
|
||||
"language_version": "0.1",
|
||||
"module_id": "TCS-STDLIB-CORE-0001"
|
||||
},
|
||||
"install": {
|
||||
"account_scoped": true,
|
||||
"activation_requires_self_test": true,
|
||||
"registration_is_installation": false
|
||||
},
|
||||
"manifest": {
|
||||
"abi": "GIR/1",
|
||||
"display_name_zh": "TCS 核心标准库",
|
||||
"entry_program_id": "HLP-PROGRAM-ECHO-0001",
|
||||
"entry_source": "language/examples/ECHO-MODULE.tcs",
|
||||
"module_id": "TCS-STDLIB-CORE-0001"
|
||||
},
|
||||
"native_self_hosted": true,
|
||||
"network_scope": {
|
||||
"allowed": false,
|
||||
"domains": []
|
||||
},
|
||||
"projection": {
|
||||
"display_name_zh": "TCS 核心标准库",
|
||||
"technical_detail_default": false
|
||||
},
|
||||
"resource_ceiling": {
|
||||
"concurrency": 1,
|
||||
"memory_limit_bytes": 1048576,
|
||||
"timeout_ms": 1000
|
||||
},
|
||||
"rollback": {
|
||||
"action": "RESTORE_PREVIOUS_STANDARD_LIBRARY",
|
||||
"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