-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
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
cargo-c: 0.9.29 -> 0.9.31 #299789
cargo-c: 0.9.29 -> 0.9.31 #299789
Conversation
This commit: * Updates cargo-c from v0.9.29 to 0.9.31. * Adds myself as a maintainer, since the prev. maintainer stepped down and I have an interest in keeping cargo-c usable. Changelog: lu-zero/cargo-c@v0.9.29...v0.9.31
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.
Builds fine on aarch64-darwin
and correctly built rustls-ffi:
$ nix build .#cargo-c
$ readlink result
/nix/store/35nw5c5f0nhcc9mpigd2pwhxkra0ffzw-cargo-c-0.9.31
$ git clone --depth=1 [email protected]:rustls/rustls-ffi.git
loning into 'rustls-ffi'...
remote: Enumerating objects: 56, done.
remote: Counting objects: 100% (56/56), done.
remote: Compressing objects: 100% (54/54), done.
remote: Total 56 (delta 2), reused 29 (delta 0), pack-reused 0
Receiving objects: 100% (56/56), 116.09 KiB | 639.00 KiB/s, done.
Resolving deltas: 100% (2/2), done.
$ /nix/store/35nw5c5f0nhcc9mpigd2pwhxkra0ffzw-cargo-c-0.9.31/bin/cargo-cbuild cbuild
Updating crates.io index
Downloaded zeroize v1.7.0
Downloaded rustls-pki-types v1.3.1
Downloaded rustls-pemfile v2.1.1
Downloaded getrandom v0.2.11
Downloaded once_cell v1.19.0
Downloaded log v0.4.21
Downloaded rustls-webpki v0.102.2
Downloaded libc v0.2.153
Downloaded rustls v0.23.1
Downloaded 9 crates (1.5 MB) in 0.79s
Compiling libc v0.2.153
Compiling cfg-if v1.0.0
Compiling rustls-pki-types v1.3.1
Compiling untrusted v0.9.0
Compiling rustls v0.23.1
Compiling once_cell v1.19.0
Compiling zeroize v1.7.0
Compiling rustls-ffi v0.13.0 (/Users/feuh/repos/rustls-ffi)
Compiling base64 v0.21.5
Compiling subtle v2.5.0
Compiling log v0.4.21
Compiling rustls-pemfile v2.1.1
Compiling getrandom v0.2.11
Compiling cc v1.0.83
Compiling ring v0.17.5
Compiling rustls-webpki v0.102.2
Finished dev [unoptimized + debuginfo] target(s) in 12.34s
Building pkg-config files
Populating uninstalled header directory
Can't test much further than that, but for a regular version bump, this seems sufficient to me.
The 5001+ rebuilds aren't great, but not sure anything can be done about that.
Thanks for taking a look! Much appreciated.
I found that very surprising given the scope of the update and the fact that I find so few references to |
I'm not sure, but it seems to me like these few dependencies are very deep inside the dependency tree. I can confirm this as well, trying to run
I definitely saw Flask in there at some point as well. So yeah, just something we have to live with, I think. |
Oh of course. That's a very simple explanation.
Agreed. Thanks for digging in. |
|
||
src = fetchCrate { | ||
inherit pname; | ||
# this version may need to be updated along with package version | ||
version = "${version}+cargo-0.76.0"; | ||
hash = "sha256-Uy5Bm8WwN3jQO2btnV/ayxTlIJAe5q2FUvhxCCrn9U8="; | ||
version = "${version}+cargo-0.78.0"; |
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.
just curious, does this mean that this release requires Cargo 0.78.0?
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.
Good question. I don't believe that's the case, but I will return with a conclusive answer when I can find time to investigate further.
Description of changes
This commit:
Changelog:
lu-zero/cargo-c@v0.9.29...v0.9.31
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)