axodotdev / axodotdev/cargo-dist

Feature: linkage fixtures to track changes

Open
#666 1 comment 0 reactions 1 assignee Claimed by @mistydemeo View on GitHub
feature request
Dominant language
Rust
Stars
2.1k
Forks
149
Avg merge
1d 11h
Merged PRs (30d)
32

Description

This is an interesting idea proposed by @ashleygwilliams.

We track linkage data in metadata stored after the build, which does give a historical timeline of linkage changes over time. What if we stored and used linkage data as a kind of snapshot like the [insta](https://crates.io/crates/insta) snapshots we use for our own tests? CI builds could then flag if linkage has changed from the snapshots, providing important information to devs. It could even be used to cause builds to fail if desired in order to avoid possibly broken binaries.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.