Skip to content

Support cargo - #48

Merged
avdgrinten merged 4 commits into
managarm:masterfrom
64:rust
May 10, 2021
Merged

Support cargo#48
avdgrinten merged 4 commits into
managarm:masterfrom
64:rust

Conversation

@64

@64 64 commented May 6, 2021

Copy link
Copy Markdown
Member

This adds the necessary infrastructure to support cargo builds from xbstrap:

  • xbstrap init now creates a config.toml
  • CARGO_HOME is set for each build (unless cargo_home: false is set in the build steps)

This also fixes the issue of cargo fetching the index on each build (now it can cache the registry in CARGO_HOME).

I have also updated the README.md to explain local development.

Complements managarm/bootstrap-managarm#102.

@64
64 marked this pull request as ready for review May 7, 2021 17:11
Comment thread README.md Outdated
Comment thread scripts/xbstrap Outdated
Comment thread scripts/xbstrap Outdated
Comment thread xbstrap/base.py Outdated
Comment thread xbstrap/base.py Outdated
@avdgrinten

Copy link
Copy Markdown
Member

LGTM now, thank you very much for the PR. I will squash the commits since there is no need to keep the intermediate stages.

@avdgrinten
avdgrinten merged commit 76e3835 into managarm:master May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants