-
Notifications
You must be signed in to change notification settings - Fork 527
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
Conversation
# 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" } |
There was a problem hiding this comment.
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)?
There was a problem hiding this comment.
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.
There was a problem hiding this 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?
Yeah, this is a weird failure. I restarted CI... |
src/building/new-target.md
Outdated
# 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' } | ||
``` |
There was a problem hiding this comment.
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
No description provided.