8000 build: Make release builds more reproducible by davidlattimore · Pull Request #2909 · wild-linker/wild · GitHub
[go: up one dir, main page]

Skip to content

build: Make release builds more reproducible - #2909

Open
davidlattimore wants to merge 1 commit into
mainfrom
push-yzukzyvvuzzv
Open

davidlattimore wants to merge 1 commit into
mainfrom
push-yzukzyvvuzzv

Conversation

@davidlattimore
Copy link
Copy Markdown
8000
Member

Deleting toolchain.toml, which is checked in, made our version output look like this:

wild --version --verbose
linker: wild
version: 0.11.0
commit-hash: unknown
commit-date: unknown
has-tag: false
modified: false
features: fork, plugins, wasm, zstd

So now we don't delete it and instead make use of it. This also ensures that we build with a known rustc version, rather than whatever happens to be stable at the time of the release.

We also now remap paths to something more predictable. e.g. '/cargo' instead of '/home/runner/.cargo'.

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.

1 participant

0