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

Add basic steps for a new target #805

Merged
merged 2 commits into from
Jul 28, 2020
Merged

Conversation

shepmaster
Copy link
Member

No description provided.

src/building/new-target.md Outdated Show resolved Hide resolved
src/building/new-target.md Outdated Show resolved Hide resolved
src/building/new-target.md Outdated Show resolved Hide resolved
# that we're shipping as well (to ensure that the rustfmt in RLS and the
# `rustfmt` executable are the same exact version).
rustfmt-nightly = { path = "src/tools/rustfmt" }
+libc = { git = "https://github.com/rust-lang/libc", rev = "0bf7ce340699dcbacabdf5f16a242d2219a49ee0" }

Choose a reason for hiding this comment

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

Is it possible to describe when or why you might want to patch the libc used by the top-level Cargo.toml versus situations where you'd patch the libc dependency of rustc-std-workspace-{std,core,alloc} (assuming there are some)?

Copy link
Member Author

Choose a reason for hiding this comment

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

It may be possible, but I don't know the reason. I only needed to patch the listed Cargo.toml.

src/building/new-target.md Show resolved Hide resolved
Copy link
Member

@jyn514 jyn514 left a comment

Choose a reason for hiding this comment

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

I'm not sure why CI is failing ... maybe this was fixed on master and you need to rebase?

@mark-i-m
Copy link
Member

Yeah, this is a weird failure. I restarted CI...

# See comments in `src/tools/rustc-workspace-hack/README.md` for what's going on
# here
rustc-workspace-hack = { path = 'src/tools/rustc-workspace-hack' }
```
Copy link
Member

Choose a reason for hiding this comment

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

This one white-space before the fence confuses our line length checker :P

@JohnTitor JohnTitor merged commit 5bde3ef into rust-lang:master Jul 28, 2020
@shepmaster shepmaster deleted the new-target branch July 28, 2020 20:04
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.

5 participants