Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ground work for libstd (reuse Xargo) #402

Merged
merged 6 commits into from
Sep 11, 2019

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 roblabla and Orycterope 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.

libuser/Cargo.toml Outdated Show resolved Hide resolved
kernel/src/heap_allocator.rs Outdated Show resolved Hide resolved
@marysaka marysaka force-pushed the feature/xargo-in-the-past branch from d1c1fe9 to b2a5da5 Compare August 22, 2019 16:40
Thomas Guillemard added 3 commits August 28, 2019 15:55
@marysaka marysaka force-pushed the feature/xargo-in-the-past branch from b2a5da5 to cc5bf90 Compare August 28, 2019 17:10
@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