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

Only build one target by default #532

Closed
wants to merge 1 commit into from

Conversation

jyn514
Copy link
Member

@jyn514 jyn514 commented Dec 21, 2019

Closes #343.

⚠️ ⚠️ DO NOT MERGE ⚠️ ⚠️ until we've (at the minimum):

  • made an 'Inside Rust' blog post saying that we won't be building all targets anymore
  • linked to that post on every page that will be affected (or every page globally if that's easier)
  • left the warning up for at least a few weeks

Most of the following comments are related to #550 and can be safely ignored.

@jyn514

This comment has been minimized.

@jyn514

This comment has been minimized.

@jyn514

This comment has been minimized.

@pietroalbini
Copy link
Member

So, I think having a separate PR to avoiding building the default target twice is better: we should announce breaking changes on the main blog, and doing so is a big ask from a marketing angle. In late February or March I plan to make another breaking change, so we could bundle them together.

The separate PR removing the double build for the default target would help mitigating the build cost without visibly affecting users, while we could defer deploying this until next year.

This was referenced Jan 9, 2020
jyn514 added a commit to jyn514/winapi-rs that referenced this pull request May 27, 2020
This makes sure that all Windows platforms will have documentation on
docs.rs even after docs.rs stops building all tier 1 targets by default.
See rust-lang/docs.rs#532 and
rust-lang/docs.rs#343 for more context.

Additionally, this stops building targets on Mac and Linux since those
targets are just empty anyway.
@jyn514
Copy link
Member Author

jyn514 commented May 27, 2020

Drafted a blog post, feedback is welcome: rust-lang/blog.rust-lang.org#603,

@jyn514 jyn514 added the S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work. label Jun 26, 2020
@jyn514
Copy link
Member Author

jyn514 commented Aug 21, 2023

rust-lang/team#1051

@jyn514 jyn514 closed this Aug 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-blocked Status: marked as blocked ❌ on something else such as an RFC or other implementation work.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

stop building crates on all targets
2 participants