{"thread":{"id":"65923","subject":"CARGO trouble appeared from 2.54.0 to 2.55.0","startedAt":"2026-07-05T00:23:30Z","lastAt":"2026-07-06T14:13:16Z","messageCount":3,"participants":["Kurt Mielke","Ben Knoble","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"547142","messageId":"bb2a925e-0b01-4e12-88ed-44deea0c90a1@lyn.dk","threadId":"65923","inReplyTo":null,"subject":"CARGO trouble appeared from 2.54.0 to 2.55.0","fromName":"Kurt Mielke","fromEmail":"scr@lyn.dk","sentAt":"2026-07-05T00:21:13Z","receivedAt":"2026-07-05T00:23:30Z","isPatch":false,"body":"Hi\n\n\nI had a clean alma10 and wanted the newest git BUT building fails:\n\nmake\n\n....\n\n     CC version.o\n     AR libgit.a\n     CARGO target/release/libgitcore.a\n/bin/sh: line 1: cargo: command not found\nmake: *** [Makefile:3021: target/release/libgitcore.a] Error 127\n\nI got 2.54.0 and it compiled just fine\n\nI found out CARGO is rust related\n\nChanging make command to\n\nmake NO_RUST=1\n\nAnd I got my 2.55.0 version, but allow me to suggest it again is the default\n\nII have no caommands in path beginning with the letters 'rus'\n\nThank you in advance\n\nKirt Mielke\n\n"},{"id":"547170","messageId":"81CE676D-CBBD-44E9-8DD6-B34068E35769@gmail.com","threadId":"65923","inReplyTo":"bb2a925e-0b01-4e12-88ed-44deea0c90a1@lyn.dk","subject":"Re: CARGO trouble appeared from 2.54.0 to 2.55.0","fromName":"Ben Knoble","fromEmail":"ben.knoble@gmail.com","sentAt":"2026-07-05T23:56:23Z","receivedAt":"2026-07-05T23:56:37Z","isPatch":false,"body":"\n> Le 4 juil. 2026 à 20:23, Kurt Mielke <scr@lyn.dk> a écrit :\n> \n> ﻿Hi\n> \n> \n> I had a clean alma10 and wanted the newest git BUT building fails:\n> \n> make\n> \n> ....\n> \n>     CC version.o\n>     AR libgit.a\n>     CARGO target/release/libgitcore.a\n> /bin/sh: line 1: cargo: command not found\n> make: *** [Makefile:3021: target/release/libgitcore.a] Error 127\n> \n> I got 2.54.0 and it compiled just fine\n> \n> I found out CARGO is rust related\n\nGit’s source code has included some optional Rust components for a few releases now. Rust is planned to be a requirement for 3.0 (IIUC), but I don’t have any recollection of the proposed timeline. [There was also some discussion of delaying the Rust mandate timeline for platforms which currently lack support?]\n\n> Changing make command to\n> \n> make NO_RUST=1\n> \n> And I got my 2.55.0 version, but allow me to suggest it again is the default\n\n2.55 is the first version to flip the default to « build with Rust », but it remains optional as you’ve discovered. \n\n> II have no caommands in path beginning with the letters 'rus'\n> \n> Thank you in advance\n> \n> Kirt Mielke\n\nSearching the internet shows Alma has packages for Rust, which you should be able to install if you want to compile with the Rust components. "},{"id":"547234","messageId":"xmqq8q7ocikm.fsf_-_@gitster.g","threadId":"65923","inReplyTo":"81CE676D-CBBD-44E9-8DD6-B34068E35769@gmail.com","subject":"Re* CARGO trouble appeared from 2.54.0 to 2.55.0","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-07-06T14:13:13Z","receivedAt":"2026-07-06T14:13:16Z","isPatch":false,"body":"Ben Knoble <ben.knoble@gmail.com> writes:\n\n> Git’s source code has included some optional Rust components for\n> a few releases now. Rust is planned to be a requirement for 3.0\n> (IIUC), but I don’t have any recollection of the proposed\n> timeline. [There was also some discussion of delaying the Rust\n> mandate timeline for platforms which currently lack support?]\n> ...\n> 2.55 is the first version to flip the default to « build with Rust\n> », but it remains optional as you’ve discovered.\n> ...\n> Searching the internet shows Alma has packages for Rust, which you\n> should be able to install if you want to compile with the Rust\n> components.\n\nAs you said above, what was reported is totally expected (I\nunderstand that 2.55 built properly for the OP with \"make\nNO_RUST=NoThanks\" set).\n\nI do not know why nobody complained, but we have been carrying this\nincomplete sentence in the release notes forever X-<.\n\n Documentation/RelNotes/2.55.0.adoc | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git c/Documentation/RelNotes/2.55.0.adoc w/Documentation/RelNotes/2.55.0.adoc\nindex f5643534dc..696ad15c1e 100644\n--- c/Documentation/RelNotes/2.55.0.adoc\n+++ w/Documentation/RelNotes/2.55.0.adoc\n@@ -85,8 +85,8 @@ Performance, Internal Implementation, Development Support etc.\n  * Promisor remote handling has been refactored and fixed in\n    preparation for auto-configuration of advertised remotes.\n \n- * Rust support is enabled by default (but still allows opting out) in\n-   some future version of Git.\n+ * Rust support is enabled by default (but still allows opting out); in\n+   some future version of Git, this will become mandatory.\n \n  * Preparation of the xdiff/ codebase to work with Rust.\n \n"}]}