Skip to content

include git commit in linker version#1203

Merged
marxin merged 3 commits intowild-linker:mainfrom
marxin:git-to-linker-version
Oct 13, 2025
Merged

include git commit in linker version#1203
marxin merged 3 commits intowild-linker:mainfrom
marxin:git-to-linker-version

Conversation

@marxin
Copy link
Copy Markdown
Collaborator

@marxin marxin commented Oct 13, 2025

The version is included for to the output of wild --version and to the .comment section:

ld -v
Wild version 0.6.0 (b91e818bd444b71f5dc6518f9255087c8d80a4e7-modified) (compatible with GNU linkers)

I see it handy when it comes to testing of he Gentoo package rebuild. Sometimes I see it difficult to see what exact version I have.

The crate also works correctly if either git is not installed or the source files come from a tarball.

The version is included for to the output of `wild --version` and
to the `.comment` section:

```
ld -v
Wild version 0.6.0 (b91e818-modified) (compatible with GNU linkers)
```

I see it handy when it comes to testing of he Gentoo package rebuild.
Sometimes I see it difficult to see what exact version I have.
@marxin marxin merged commit 8c76c7a into wild-linker:main Oct 13, 2025
20 checks passed
@marxin marxin deleted the git-to-linker-version branch October 14, 2025 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants