Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/linux-native-aot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- name: Set up .NET 10.0.400
- name: Set up the repository .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.400
global-json-file: global.json
- name: Install Native AOT toolchain
run: |
sudo apt-get update
Expand Down
26 changes: 9 additions & 17 deletions .github/workflows/p1-expanded.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
10.0.400
10.0.401
global-json-file: global.json
- name: Verify PowerShell 7 and CI publication contract
shell: pwsh
run: |
Expand Down Expand Up @@ -181,7 +179,6 @@ jobs:
env:
GITHUB_SHA: ${{ github.sha }}
CI_COMMIT_SHA: ${{ github.sha }}
RUSTSHARP_NATIVE_AOT_SDK_VERSION: '10.0.401'
DOTNET_CLI_USE_MSBUILD_SERVER: '0'
DOTNET_CLI_UI_LANGUAGE: en-US
steps:
Expand All @@ -191,9 +188,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
10.0.400
10.0.401
global-json-file: global.json
- name: Verify PowerShell 7
shell: pwsh
run: |
Expand Down Expand Up @@ -279,7 +274,6 @@ jobs:
env:
GITHUB_SHA: ${{ github.sha }}
CI_COMMIT_SHA: ${{ github.sha }}
RUSTSHARP_NATIVE_AOT_SDK_VERSION: '10.0.401'
DOTNET_CLI_USE_MSBUILD_SERVER: '0'
DOTNET_CLI_UI_LANGUAGE: en-US
steps:
Expand All @@ -289,9 +283,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
10.0.400
10.0.401
global-json-file: global.json
- name: Verify PowerShell 7 and bind rustc 1.98 oracle
shell: pwsh
timeout-minutes: 5
Expand Down Expand Up @@ -354,7 +346,6 @@ jobs:
env:
GITHUB_SHA: ${{ github.sha }}
CI_COMMIT_SHA: ${{ github.sha }}
RUSTSHARP_NATIVE_AOT_SDK_VERSION: '10.0.401'
DOTNET_CLI_USE_MSBUILD_SERVER: '0'
DOTNET_CLI_UI_LANGUAGE: en-US
steps:
Expand All @@ -364,9 +355,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
10.0.400
10.0.401
global-json-file: global.json
- name: Download Windows production receipt
if: always()
continue-on-error: true
Expand Down Expand Up @@ -414,7 +403,7 @@ jobs:
shell: pwsh
run: |
if ($PSVersionTable.PSVersion.Major -lt 7) { throw 'PowerShell 7 or newer is required.' }
./eng/Invoke-P1ReleaseBuild.ps1 -CandidateSha $env:GITHUB_SHA -SdkVersion 10.0.401 -ReportPath artifacts/p1-candidate/production-aggregate-release-build.json
./eng/Invoke-P1ReleaseBuild.ps1 -CandidateSha $env:GITHUB_SHA -ReportPath artifacts/p1-candidate/production-aggregate-release-build.json
- name: Download Windows Drop receipt and original verifier reports
if: always()
continue-on-error: true
Expand Down Expand Up @@ -444,6 +433,7 @@ jobs:
name: p1-drop-bytes-linux-x64-${{ github.run_id }}-${{ github.run_attempt }}
path: artifacts/p1-drop/linux-x64
- name: Require both native Drop jobs and reconcile transferred original bytes
id: drop-transport
if: always()
shell: pwsh
env:
Expand All @@ -464,7 +454,9 @@ jobs:
env:
NATIVE_JOB_RESULT: ${{ needs.production-native.result }}
SUITE_JOB_RESULT: ${{ needs.suite-gate.result }}
run: ./eng/Test-P1ProductionCiGate.ps1 -CandidateSha $env:GITHUB_SHA -WindowsReceipt artifacts/p1-production/windows-x64/native-receipt.json -LinuxReceipt artifacts/p1-production/linux-x64/native-receipt.json -RunId '${{ github.run_id }}' -RunAttempt '${{ github.run_attempt }}' -Repository '${{ github.repository }}' -NativeJobResult $env:NATIVE_JOB_RESULT -SuiteJobResult $env:SUITE_JOB_RESULT -EvidencePath artifacts/p1-candidate/production-ci-gate.json
DROP_JOB_RESULT: ${{ needs.drop-native.result }}
DROP_TRANSPORT_RESULT: ${{ steps.drop-transport.outcome }}
run: ./eng/Test-P1ProductionCiGate.ps1 -CandidateSha $env:GITHUB_SHA -WindowsReceipt artifacts/p1-production/windows-x64/native-receipt.json -LinuxReceipt artifacts/p1-production/linux-x64/native-receipt.json -RunId '${{ github.run_id }}' -RunAttempt '${{ github.run_attempt }}' -Repository '${{ github.repository }}' -NativeJobResult $env:NATIVE_JOB_RESULT -SuiteJobResult $env:SUITE_JOB_RESULT -DropJobResult $env:DROP_JOB_RESULT -DropTransportResult $env:DROP_TRANSPORT_RESULT -EvidencePath artifacts/p1-candidate/production-ci-gate.json
- name: Upload aggregate production gate and physical validation diagnostics
if: always()
uses: actions/upload-artifact@v4
Expand Down
14 changes: 4 additions & 10 deletions .github/workflows/p1-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ jobs:
- name: Set up .NET SDKs
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
10.0.400
10.0.401
global-json-file: global.json
- name: Install rustc 1.98 oracle
shell: pwsh
run: rustup toolchain install 1.98.0 --profile minimal
Expand All @@ -47,8 +45,7 @@ jobs:
-PlatformName windows-x64 `
-RuntimeIdentifier win-x64 `
-OutputDirectory artifacts/p1-platform/windows-x64 `
-EvidencePath artifacts/p1-platform/windows-x64.json `
-SdkVersion 10.0.400
-EvidencePath artifacts/p1-platform/windows-x64.json
$code = $LASTEXITCODE
if (-not (Test-Path -LiteralPath artifacts/p1-platform/windows-x64.json -PathType Leaf)) {
throw 'P1 Windows platform evidence report was not produced.'
Expand Down Expand Up @@ -142,9 +139,7 @@ jobs:
- name: Set up .NET SDKs
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
10.0.400
10.0.401
global-json-file: global.json
- name: Install Native AOT toolchain
shell: bash
run: |
Expand Down Expand Up @@ -172,8 +167,7 @@ jobs:
-PlatformName linux-x64 `
-RuntimeIdentifier linux-x64 `
-OutputDirectory artifacts/p1-platform/linux-x64 `
-EvidencePath artifacts/p1-platform/linux-x64.json `
-SdkVersion 10.0.400
-EvidencePath artifacts/p1-platform/linux-x64.json
$code = $LASTEXITCODE
if (-not (Test-Path -LiteralPath artifacts/p1-platform/linux-x64.json -PathType Leaf)) {
throw 'P1 Linux platform evidence report was not produced.'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/p2-doc-components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
ref: ${{ github.sha }}
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.400
global-json-file: global.json
- name: Native documentation components and exact candidate evidence
shell: pwsh
timeout-minutes: 22
env:
CANDIDATE_SHA: ${{ github.sha }}
TOOL_RID: ${{ matrix.rid }}
run: ./artifacts/p2-supervision/documentation-native-ci-v1/Invoke-DocumentationNativeCi.ps1
run: ./eng/Invoke-DocumentationNativeCi.ps1
- name: Native Linux same-process documentation resource evidence
if: matrix.rid == 'linux-x64'
shell: pwsh
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows-p0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Set up .NET 10.0.400
- name: Set up the repository .NET SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.400
global-json-file: global.json
- name: Install SQLite
shell: pwsh
timeout-minutes: 5
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<p align="center">
<a href="https://github.com/IoTSharp/RustSharp/actions/workflows/windows-p0.yml"><img src="https://github.com/IoTSharp/RustSharp/actions/workflows/windows-p0.yml/badge.svg" alt="Windows x64 P0 evidence" /></a>
<a href="https://github.com/IoTSharp/RustSharp/actions/workflows/linux-native-aot.yml"><img src="https://github.com/IoTSharp/RustSharp/actions/workflows/linux-native-aot.yml/badge.svg" alt="Linux x64 Native AOT" /></a>
<img src="https://img.shields.io/badge/.NET%20SDK-10.0.400-512BD4?logo=dotnet&logoColor=white" alt=".NET SDK 10.0.400" />
<img src="https://img.shields.io/badge/.NET%20SDK-10.0.404-512BD4?logo=dotnet&logoColor=white" alt=".NET SDK 10.0.404" />
</p>

> **🚧 In progress:** RustSharp is experimental. Compatibility is declared by named profiles, not by a claim of full Rust support. Unsupported source is rejected with diagnostics instead of being silently assigned C# or CLR semantics.
Expand All @@ -35,7 +35,7 @@ RustSharp is not a drop-in replacement for `rustc`. Full Rust compatibility, sta

## Quick start

Install .NET SDK 10.0.400 first. The repository pins that version in [global.json](global.json) and disables roll-forward. Rust 1.98.0 is only required when running differential conformance work.
Install .NET SDK 10.0.404 first. The repository pins that version in [global.json](global.json) and disables roll-forward. Rust 1.98.0 is only required when running differential conformance work.

```text
git clone https://github.com/IoTSharp/RustSharp.git
Expand Down Expand Up @@ -140,7 +140,7 @@ the repository pin remains 10.0.400. Logs are retained under
records ownership diagnostics, Drop closure, source package metadata and
platform evidence binding. P1-09 source-package contracts are ✅ Complete on the recorded local evidence: historical Closure-9 Release 0/0 warnings/errors, focused 84/84 and full 964/964; those reports record raw manifest SHA `BC0975F428B6A8AB0AE47DE50970B1152482C3465C27B47AB44A3AC4153519AB` and pass 19/19 with 39/39 original PEs on Windows and Ubuntu WSL Native AOT/CoreCLR. That historical CRLF raw-byte hash is distinct from the current LF-normalized manifest hash.

P1-10 is ✅ Complete at local candidate `0a415e25c362f8a35c09cb9e1163f5ce30accf82`: Windows and Ubuntu Linux x64 each pass a zero-warning/error Release build, 969/969 full-harness tests, 32/32 expanded differential cases, 24/24 CoreCLR/ILVerify/Native AOT cases and 60/60 immutable baseline audit entries. The strict aggregate passes 15/15. The [P1-10 implementation record](docs/p1-10-implementation.md) distinguishes the 40-requirement/160-record coverage inventory from semantic execution and records the additional Ubuntu rustc Drop trace difference in `p1-drop-closure-v4`. That difference has not been approved by the P1 language gates. P1-GATE.01–.03 are 🚧 In progress; .04–.06 remain ⏳ Planned. Remote CI for later commit `0c5d80f623ab263682ed36c47f3e9182e23374f9` failed; current repairs and exact coverage/source-package evidence remain under [supervision](docs/roadmap/P2-HANDOFF.md).
P1-10 is ✅ Complete at local candidate `0a415e25c362f8a35c09cb9e1163f5ce30accf82`: Windows and Ubuntu Linux x64 each pass a zero-warning/error Release build, 969/969 full-harness tests, 32/32 expanded differential cases, 24/24 CoreCLR/ILVerify/Native AOT cases and 60/60 immutable baseline audit entries. The strict aggregate passes 15/15. The [P1-10 implementation record](docs/p1-10-implementation.md) distinguishes the 40-requirement/160-record coverage inventory from semantic execution and records the additional Ubuntu rustc Drop trace difference in `p1-drop-closure-v4`. That difference has not been approved by the P1 language gates. P1-GATE.01 through P1-GATE.06 are ✅ Complete. See the [P1 completion record](docs/p1-completion.md). Remote CI for later commit `0c5d80f623ab263682ed36c47f3e9182e23374f9` failed; current repairs and exact coverage/source-package evidence remain under [supervision](docs/roadmap/P2-HANDOFF.md).

The recorded `safe-core-regression-v1` report passes 8/8 with zero failures or
skips. The historical `safe-core-regression-v2` report passes 24/24 with one
Expand Down
6 changes: 3 additions & 3 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<p align="center">
<a href="https://github.com/IoTSharp/RustSharp/actions/workflows/windows-p0.yml"><img src="https://github.com/IoTSharp/RustSharp/actions/workflows/windows-p0.yml/badge.svg" alt="Windows x64 P0 证据" /></a>
<a href="https://github.com/IoTSharp/RustSharp/actions/workflows/linux-native-aot.yml"><img src="https://github.com/IoTSharp/RustSharp/actions/workflows/linux-native-aot.yml/badge.svg" alt="Linux x64 Native AOT" /></a>
<img src="https://img.shields.io/badge/.NET%20SDK-10.0.400-512BD4?logo=dotnet&logoColor=white" alt=".NET SDK 10.0.400" />
<img src="https://img.shields.io/badge/.NET%20SDK-10.0.404-512BD4?logo=dotnet&logoColor=white" alt=".NET SDK 10.0.404" />
</p>

> **🚧 进行中:** RustSharp 仍处于实验阶段。兼容性由具名配置档定义,而不是宣称完整支持 Rust。超出配置档范围的源码会给出诊断,不会被静默赋予 C# 或 CLR 语义。
Expand All @@ -35,7 +35,7 @@ RustSharp 不是 `rustc` 的直接替代品。完整 Rust 兼容性、标准库

## 快速开始

请先安装 .NET SDK 10.0.400。仓库在 [global.json](global.json) 中固定该版本,并禁用了 roll-forward。只有运行差异一致性工作时才需要 Rust 1.98.0。
请先安装 .NET SDK 10.0.404。仓库在 [global.json](global.json) 中固定该版本,并禁用了 roll-forward。只有运行差异一致性工作时才需要 Rust 1.98.0。

```text
git clone https://github.com/IoTSharp/RustSharp.git
Expand Down Expand Up @@ -119,7 +119,7 @@ SHA,因此候选发布门禁仍是独立的 P1 要求。
`artifacts/p1-next-session`。[后续审计](docs/p1-evidence-audit_zh.md) 记录所有权诊断、Drop
闭环、源码包元数据及平台证据绑定。P1-09 源码包契约基于已记录的本地证据为 ✅ 已完成:历史 Closure-9 Release 零警告/零错误,关键回归84/84、完整回归964/964;这些报告记录清单原始字节 SHA `BC0975F428B6A8AB0AE47DE50970B1152482C3465C27B47AB44A3AC4153519AB`,在 Windows 与 Ubuntu WSL Native AOT/CoreCLR 均通过19/19及39/39个原始 PE。该历史 CRLF 原始字节哈希不同于当前规范化 LF 后的清单哈希。

P1-10 在本地候选 `0a415e25c362f8a35c09cb9e1163f5ce30accf82` 为 ✅ 已完成:Windows 与 Ubuntu Linux x64 分别通过零警告/零错误的 Release 构建、969/969 项完整测试、32/32 项扩展差分、24/24 项 CoreCLR/ILVerify/Native AOT 用例及 60/60 项不可变基线审计。严格聚合通过 15/15。[P1-10 实现记录](docs/p1-10-implementation_zh.md)区分 40 个需求/160 条清单记录的覆盖账本与真实语义执行,并记录 `p1-drop-closure-v4` 中额外的 Ubuntu rustc Drop 轨迹差异。该差异尚未获 P1 语言门禁批准。P1-GATE.01–.03 为 🚧 进行中,.04–.06 仍为 ⏳ 计划中。后续提交 `0c5d80f623ab263682ed36c47f3e9182e23374f9` 的远程 CI 失败;当前修复及精确覆盖/源码包证据继续接受[监督](docs/roadmap/P2-HANDOFF_zh.md)。
P1-10 在本地候选 `0a415e25c362f8a35c09cb9e1163f5ce30accf82` 为 ✅ 已完成:Windows 与 Ubuntu Linux x64 分别通过零警告/零错误的 Release 构建、969/969 项完整测试、32/32 项扩展差分、24/24 项 CoreCLR/ILVerify/Native AOT 用例及 60/60 项不可变基线审计。严格聚合通过 15/15。[P1-10 实现记录](docs/p1-10-implementation_zh.md)区分 40 个需求/160 条清单记录的覆盖账本与真实语义执行,并记录 `p1-drop-closure-v4` 中额外的 Ubuntu rustc Drop 轨迹差异。该差异尚未获 P1 语言门禁批准。P1-GATE.01 至 P1-GATE.06 已 ✅ 已完成。详见[P1 结项记录](docs/p1-completion_zh.md)。后续提交 `0c5d80f623ab263682ed36c47f3e9182e23374f9` 的远程 CI 失败;当前修复及精确覆盖/源码包证据继续接受[监督](docs/roadmap/P2-HANDOFF_zh.md)。

已记录的 `safe-core-regression-v1` 报告通过 8/8,失败和跳过均为零。
历史 `safe-core-regression-v2` 报告通过 24/24,包含 1 个编译通过、6 个编译失败、
Expand Down
Loading
Loading