Skip to content

ci: run cross-lane cargo commands with soldr's target env - #698

Merged
zackees merged 1 commit into
mainfrom
fix/cross-lane-soldr-env
Dec 4, 2026
Merged

zackees merged 1 commit into
mainfrom
fix/cross-lane-soldr-env

Conversation

@zackees

@zackees zackees commented Dec 4, 2026

Copy link
Copy Markdown
Collaborator

The full-mode cross lanes (added in f0398f3) have never passed: soldr lint
rust / soldr cargo check take the plain cargo passthrough, which does not
export the target's C compiler, linker or SDK, so cc-rs build scripts used
the host cc for darwin ('unrecognized --target=arm64-apple-darwin') and
MSVC links hit 'linker flavor lld-link is incompatible'. soldr prepare
exports only through GITHUB_ENV, which never reaches later commands in the
same step. Merge 'soldr env --target --json' into each cross command.

Ci-Attestation: {"at":1796414065,"gate":"python/all/basedpyright","host":"linux-x86_64","key":"","lane":"py-static","parents":["647b69446932750fdd2cc32b09c7e8c9f9a45732"],"secs":1,"stamp":"26f2b029a253b2c955fdca0d8b7765ed","tree":"efc07f40c4892ed9a20c72279bebe3de97c63253","v":1,"via":"run"}
Ci-Attestation: {"at":1796414065,"gate":"python/all/ruff-check","host":"linux-x86_64","key":"","lane":"py-static","parents":["647b69446932750fdd2cc32b09c7e8c9f9a45732"],"secs":1,"stamp":"038097ce2978dfa540f787aa1f5e5d58","tree":"efc07f40c4892ed9a20c72279bebe3de97c63253","v":1,"via":"run"}
Ci-Attestation: {"at":1796414065,"gate":"python/all/ruff-format","host":"linux-x86_64","key":"","lane":"py-static","parents":["647b69446932750fdd2cc32b09c7e8c9f9a45732"],"secs":1,"stamp":"ca48fe7e523ec982771810cbe5a69580","tree":"efc07f40c4892ed9a20c72279bebe3de97c63253","v":1,"via":"run"}

The full-mode cross lanes (added in f0398f3) have never passed: soldr lint
rust / soldr cargo check take the plain cargo passthrough, which does not
export the target's C compiler, linker or SDK, so cc-rs build scripts used
the host cc for darwin ('unrecognized --target=arm64-apple-darwin') and
MSVC links hit 'linker flavor lld-link is incompatible'. soldr prepare
exports only through GITHUB_ENV, which never reaches later commands in the
same step. Merge 'soldr env --target <t> --json' into each cross command.

Ci-Attestation: {"at":1796414065,"gate":"python/all/basedpyright","host":"linux-x86_64","key":"","lane":"py-static","parents":["647b69446932750fdd2cc32b09c7e8c9f9a45732"],"secs":1,"stamp":"26f2b029a253b2c955fdca0d8b7765ed","tree":"efc07f40c4892ed9a20c72279bebe3de97c63253","v":1,"via":"run"}
Ci-Attestation: {"at":1796414065,"gate":"python/all/ruff-check","host":"linux-x86_64","key":"","lane":"py-static","parents":["647b69446932750fdd2cc32b09c7e8c9f9a45732"],"secs":1,"stamp":"038097ce2978dfa540f787aa1f5e5d58","tree":"efc07f40c4892ed9a20c72279bebe3de97c63253","v":1,"via":"run"}
Ci-Attestation: {"at":1796414065,"gate":"python/all/ruff-format","host":"linux-x86_64","key":"","lane":"py-static","parents":["647b69446932750fdd2cc32b09c7e8c9f9a45732"],"secs":1,"stamp":"ca48fe7e523ec982771810cbe5a69580","tree":"efc07f40c4892ed9a20c72279bebe3de97c63253","v":1,"via":"run"}
@zackees
zackees enabled auto-merge December 4, 2026 20:01
@zackees
zackees added this pull request to the merge queue Dec 4, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Dec 4, 2026
@zackees
zackees added this pull request to the merge queue Dec 4, 2026
Merged via the queue into main with commit 5c9fa44 Dec 4, 2026
18 checks passed
@zackees
zackees deleted the fix/cross-lane-soldr-env branch December 4, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant