Skip to content

std: migrate from xargo to cargo -Z build-std#286

Merged
DemesneGH merged 1 commit into
apache:mainfrom
DemesneGH:main
Mar 16, 2026
Merged

std: migrate from xargo to cargo -Z build-std#286
DemesneGH merged 1 commit into
apache:mainfrom
DemesneGH:main

Conversation

@DemesneGH

Copy link
Copy Markdown
Contributor

Notes:
We previously attempted to use cargo -Z build-std but were blocked by a bug (see #139). Since that issue has now been resolved, we are migrating to the standard build-std approach.

Changes:

  • Remove Xargo
  • Introduce CARGO_FLAGS: empty for no-std, -Z build-std=std,panic_abort for std

Plan:

  • [Done] Update MSRV build: update MSRV to nightly-2025-12-11 #285
  • [This PR] Migrate from xargo to cargo -Z build-std
  • Update dev docker and re-publish the docker image; std-dev-docker CI passes
  • Update cargo-optee; CI passes
  • Update all related docs

@ivila

ivila commented Mar 16, 2026

Copy link
Copy Markdown
Contributor

Nice work on this. LGTM!

@DemesneGH DemesneGH merged commit 855efec into apache:main Mar 16, 2026
13 of 18 checks passed
@ivila ivila added the build label Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants