-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
rustc: 1.65.0 -> 1.66.0 #206270
rustc: 1.65.0 -> 1.66.0 #206270
Conversation
@ofborg build fd |
I don't have a darwin machine so I can't test the stuff mentioned in #190093, feel free to directly push to this pr if you have any changes you want to make |
I will do so by the end of the day (EST), thank you both. @figsoda (and @tjni, if you want more Darwin power) https://github.com/winterqt/darwin-build-box exists as of recently, feel free to request access. :) |
This comment was marked as outdated.
This comment was marked as outdated.
Turns out building 11k packages wasn't needed to figure out the issue. I've described the strategy for dealing with this in 70d39d1679e38e018a540de0a582f97e6a89cff7, as well as added a note that I believe is correct in ebce964b12f5c99d9f30b2bbe2e0f43e3c4e4713. Let me know if anything is unclear. cc @zowoq |
I opened vectordotdev/vector#15627 to track fixing vector when compiled using Rust 1.66. |
Thanks @tjni! we should be able to just remove the |
zowoq hasn't had any github acitivity for 10 days, perhaps we can just merge this and fix the issues that might pop up later |
I'm in favor of merging it. |
Just to confirm: does my approach to the libiconv situation make sense to you both, are there any issues? This should cause no breakages right now, but it just makes things easier for us to eventually start only adding it when needed by not propagating it alongside |
It makes sense to me at a high level (I'm not as in tune with the details). To move is in that direction, what needs to happen so that:
|
I think there may be a typo in your message, or is that a question? Either way, assuming I understand your question(?) correctly:
Does that clarify things? |
Makes sense to me as well, we just need to keep an eye on the packages that don't use buildRustPackage as they might still depend on an older version of libc IIUC removing libiconv from buildRustPackage should also work, would just require a lot more work and we might as well wait a little longer for packages to update their dependencies |
Exactly, that'll be the next step, per my last comment. Give me one sec to adjust the commit message, please. |
This reverts commit b6fc00b. Rust 1.66.0 contains a fix for libiconv being linked unconditionally on macOS, but this only applies to packages that don't depend on older versions of `libc`. For now, let's go back to including libiconv in `buildInputs` by default for packages that use `buildRustPackage`. As packages bump their `libc` versions, we can eventually stop including it by default, and manually add it where needed.
Let me know how those messages sound, adjusted some wording and formatting. Then we should be good to go! |
messages & changes both lgtm, thanks! |
Thanks for the context. This LGTM (though might need to be rebased against latest staging, which should include the cargo auditable changes). I created #207451 to fix vector pending upstream fix. |
Description of changes
https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html
built and tested fd on master (x86_64-linux)
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes