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

Phase out precompiled #2590

Merged
merged 1 commit into from
Aug 21, 2023
Merged

Conversation

pinkforest
Copy link
Contributor

@pinkforest pinkforest commented Aug 21, 2023

Following consensus on: #2580 (review)

This PR phases out the precompiled per final consensus made in #2580

Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

To clarify, I don't actually think #2588 has anything to do with the ability to undo precompiled. Serde_derive is going to continue to be slow to compile after this. The version equality constraint thing is an independent improvement that's useful for cases that already depend on serde / serde_derive separately to parallelize the (still slow) builds (niklasmohrin/clircle#12, pfernie/cookie_store#37, dtolnay/noisy-clippy@3838953, …).

Could you unstack this from #2588 if it includes anything from there as indicated by your PR description? I was hoping this one could land first. For the other one it may turn out to be wise to wait several weeks in case there are some unsatisfiable constraints floating around like serde = "1.0.177", serde_derive = "=1.0.171" in the near term, which that PR would break. I might need to write tooling to detect that.

@pinkforest
Copy link
Contributor Author

yup done unstacked

This PR phases out the precompiled per final consensus made in serde-rs#2580
i#
Fix a cfg
Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

Thanks!

@dtolnay dtolnay linked an issue Aug 21, 2023 that may be closed by this pull request
@dtolnay dtolnay changed the title WIP: phase out precompiled Phase out precompiled Aug 21, 2023
@pinkforest pinkforest force-pushed the phase-out-precompiled branch from 61555bf to 360606b Compare August 21, 2023 03:55
@pinkforest
Copy link
Contributor Author

Sorry bad old habit squashing my branch 😬 😅

@dtolnay dtolnay merged commit 110af31 into serde-rs:master Aug 21, 2023
@pinkforest pinkforest deleted the phase-out-precompiled branch August 21, 2023 04:00
@dtolnay dtolnay linked an issue Aug 21, 2023 that may be closed by this pull request
0xpr03 added a commit to notify-rs/notify that referenced this pull request Aug 21, 2023
0xpr03 added a commit to notify-rs/notify that referenced this pull request Aug 21, 2023
0xpr03 added a commit to notify-rs/notify that referenced this pull request Aug 21, 2023
0xpr03 added a commit to notify-rs/notify that referenced this pull request Aug 21, 2023
0xpr03 added a commit to notify-rs/notify that referenced this pull request Aug 21, 2023
matklad added a commit to matklad/rust-analyzer that referenced this pull request Aug 21, 2023
Sered no longer uses blobs as of

serde-rs/serde#2590

As such, there's no longer need for us to pin it.

Note that this doesn't upgrade serde version we use: I am fairly
confident that the blobs are already there are fine, and now I am fairly
confident that all future versions of serde will be fine as well.
@delbonis
Copy link

Sorry for the confusion but what's the final conclusion on the default behavior? How should binaries decide to pick their desired build process?

@kayabaNerve
Copy link

The binary has been deleted entirely so there is no choice, only the from source option.

eightfilms added a commit to 0xmozak/mozak-vm that referenced this pull request Aug 22, 2023
Reverts commit 9bb636e.

The whole fiasco over shipping precompiled binaries with serde_derive
was resolved with a [new release](https://github.com/serde-rs/serde/releases/tag/v1.0.184).
See this [PR](serde-rs/serde#2590) as well -
seems like the maintainer took active steps to make sure the precompile
was phased out after listening to feedback.
uncomfyhalomacro pushed a commit to uncomfyhalomacro/rypper that referenced this pull request Aug 22, 2023
As the consensus was concluded across the rust community, this
PR serde-rs/serde#2590 phases out precompiled
blobs from serde_derive.

Signed-off-by: Soc Virnyl Estela <socvirnyl.estela@gmail.com>
uncomfyhalomacro pushed a commit to uncomfyhalomacro/rypper that referenced this pull request Aug 22, 2023
As the consensus was concluded across the rust community, this
PR serde-rs/serde#2590 phases out precompiled
blobs from serde_derive.

Signed-off-by: Soc Virnyl Estela <socvirnyl.estela@gmail.com>
eightfilms added a commit to 0xmozak/mozak-vm that referenced this pull request Aug 22, 2023
Reverts commit 9bb636e.

The whole fiasco over shipping precompiled binaries with serde_derive
was resolved with a [new
release](https://github.com/serde-rs/serde/releases/tag/v1.0.184). See
this [PR](serde-rs/serde#2590) as well - seems
like the maintainer took active steps to make sure the precompile was
phased out after listening to feedback.
martin-g added a commit to apache/avro that referenced this pull request Aug 22, 2023
Suggested-at: serde-rs/serde#2590

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
martin-g added a commit to apache/avro that referenced this pull request Aug 22, 2023
Suggested-at: serde-rs/serde#2590

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
martin-g added a commit to apache/avro that referenced this pull request Aug 22, 2023
Suggested-at: serde-rs/serde#2590

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
martin-g added a commit to apache/avro that referenced this pull request Aug 22, 2023
Suggested-at: serde-rs/serde#2590 (review)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
bors added a commit to rust-lang/rust-analyzer that referenced this pull request Aug 22, 2023
internal: unpin serde

Serde no longer uses blobs as of

serde-rs/serde#2590

As such, there's no longer need for us to pin it.

Note that this doesn't upgrade serde version we use: I am fairly confident that the blobs are already there are fine, and now I am fairly confident that all future versions of serde will be fine as well.
FWuermse added a commit to flow-rs/flowrs-wasm that referenced this pull request Aug 24, 2023
FWuermse added a commit to flow-rs/flowrs-std that referenced this pull request Aug 24, 2023
FWuermse added a commit to flow-rs/flowrs that referenced this pull request Aug 24, 2023
@Jonxslays Jonxslays mentioned this pull request Aug 24, 2023
6 tasks
aDotInTheVoid added a commit to aDotInTheVoid/triphosphate that referenced this pull request Sep 1, 2023
11Kilobytes added a commit to 11Kilobytes/kanata that referenced this pull request Oct 31, 2023
11Kilobytes added a commit to 11Kilobytes/kanata that referenced this pull request Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Clarify serde_derive platform support serde_derive will be found within precompiled/bin when using git
4 participants