Skip to content

Ground work for libstd (reuse Xargo)#402

Merged
marysaka merged 6 commits intosunriseos:masterfrom
marysaka:feature/xargo-in-the-past
Sep 11, 2019
Merged

Ground work for libstd (reuse Xargo)#402
marysaka merged 6 commits intosunriseos:masterfrom
marysaka:feature/xargo-in-the-past

Conversation

@marysaka
Copy link
Member

@marysaka marysaka commented Aug 5, 2019

This is the preparing steps for starting our own libstd.

@marysaka marysaka added the infra Related to the infra/tooling. We're going meta. label Aug 5, 2019
@marysaka marysaka requested review from Orycterope and roblabla August 5, 2019 15:22
Orycterope
Orycterope previously approved these changes Aug 6, 2019
@roblabla
Copy link
Member

roblabla commented Aug 6, 2019

For posterity's sake: Cargo is working on bringing an MVP of std-aware cargo (which will replace xargo/cargo-xbuild in the future) literally right now: rust-lang/cargo#7216.

Unfortunately, it won't be usable by us for a little while, but we should keep a close eye on these development.

Copy link
Member

@roblabla roblabla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Update docs/BUILDING.md to mention that we now depend on xargo instead of cargo-xbuild.
  • Update docs/UPDATE_RUST.md to do the same
  • Update bootstrap/Cargo.toml and kernel/Cargo.toml and remove the cargo-xbuild stuff found there.

@marysaka marysaka changed the title Reuse Xargo Ground work for libstd (reuse Xargo) Aug 7, 2019
@marysaka marysaka requested review from Orycterope and roblabla August 7, 2019 12:29
@marysaka marysaka dismissed Orycterope’s stale review August 7, 2019 12:30

New changes were made.

Thomas Guillemard added 3 commits August 28, 2019 15:55
@marysaka marysaka requested a review from Orycterope August 28, 2019 17:12
Xargo.toml Outdated
stage = 0

[dependencies.compiler_builtins]
version = "*"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is specifying a version necessary? If it is, we should hardcode a version (Like "=x.y.z") to avoid having the build breaking because of future incompatible versions.

@marysaka marysaka merged commit ab01543 into sunriseos:master Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infra Related to the infra/tooling. We're going meta.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants